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

Custom Elements #948

Open
underthesand opened this issue Apr 28, 2024 · 1 comment
Open

Custom Elements #948

underthesand opened this issue Apr 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@underthesand
Copy link

underthesand commented Apr 28, 2024

Is your feature request related to a problem? Please describe.
I would like to create custom elements because the elements provided by Chainlit are too generic and do not align with my company's needs. For example, a custom video player or custom charts using JavaScript libraries.

Describe the solution you'd like
A solution similar to a Streamlit component would be ideal.
The idea is to be able to inject a React component that could access the Chainlit context (messages, user, etc.).
This could lead to the creation of a community store, which would be a great addition to the project.

@underthesand underthesand changed the title Custom Element Customs Elements Apr 28, 2024
@underthesand underthesand changed the title Customs Elements Custom Elements Apr 28, 2024
@tpatel tpatel added question Further information is requested and removed needs-triage labels Apr 29, 2024
@tpatel
Copy link
Collaborator

tpatel commented Apr 29, 2024

Have you tried the unsafe_allow_html feature to display html in messages?
Would this solve your problem for now?

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

No branches or pull requests

2 participants