Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best approach to include UI like infoboxes, warning boxes in bot output #912

Open
nmstoker opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@nmstoker
Copy link

I see that you can use a custom React front-end, but within the normal Chainlit UI what is the best general approach one should take to go about including slightly richer UI elements like infoboxes, warning boxes and such like in bot responses? I guess ideally I would want some sort of template that contains the styling for all the sub-elements and then the response text is fed into that, would that be a reasonable, sensible way to go?

Has anyone tried this and/or do you have any pointers on how best to start with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant