Comments (8)
Alrighty, being deployed in a50730b.
There will be a data-bot={bot name}
. It'll be empty if it's a user generated message.
from agnai.
Sure, I can add some do-nothing classes onto the chat messages.
I can't guarantee that the markup and such won't change over time and potentially break your custom css.
If you do come up with some nice alternate chat views, I'd happily consider supporting "chat themes" provided they're not too onerous to implement and maintain. Share a screenshot after you're done if you're comfortable doing so.
from agnai.
Would this suffice?:
from agnai.
Custom CSS saved onto the character profile, it would allow fancy stuff.
Can you elaborate on this? I'm not sure what exactly you mean. As in which page and which components you'd need identifiable.
from agnai.
Yeah, that works. I'd be able to change CSS with
div[data-sender="bot"] {}
Can you elaborate on this? I'm not sure what exactly you mean. As in which page and which components you'd need identifiable.
Custom CSS per character would allow creators to include CSS to style their bot responses without having to resort to external scripts. The pages that would need to be modified would be character editor, a custom CSS textbox and the character responses, that include something unique to the bot, like a short form of their ID or something small that can be referenced from the CSS. It's more of an idea to develop, not exactly a big part of the feature request here. I'm happy with the data-sender=bot, it does what I need.
from agnai.
Would you require this chat in the message as well?
I can do this by character name as you have more control over that.
data-bot={char.name}
from agnai.
That'd be ideal
from agnai.
Sure thing, I'll add it in the next release.
from agnai.
Related Issues (20)
- Animated Avatar Images HOT 1
- Dynamic temperature on Agnai models - take 2 HOT 1
- Quadratic sampling for Agnai models HOT 1
- The "Generate more" button does not work properly
- Claude Messages API prefill functionality
- Scenario: "Copy Event" Button
- Scenario: Repeatable Events. Limited (1<) and Infinite repetition. HOT 1
- Add option for Claude 3 Haiku for Third Parties/Self-hosted preset.
- Feature req: Please integrate apipie.ai
- Feature: Add a lock toggle for Promp Ordering in Preset.
- [bug]: User embeds are inserted in the prompt each time the chat is opened.
- (Feature Request) Prefill Option for OpenRouter for Claude
- Can't update memory books in a chat HOT 4
- Mancer models list missing cr/token cost information
- [Feature] OpenAI model request. HOT 1
- [Feature] Customizable negative bias
- [bug] Regenerate button disappears when there are hidden messages in the chat
- [Feature Request] - Support for .Webp, and .GIF
- Add the abillity to Fetch request by browser API instead of HTTP fetch
- Multilingual embeddings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agnai.