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

Reusable chatbot UI #1202

Open
jmartisk opened this issue Jan 8, 2025 · 3 comments
Open

Reusable chatbot UI #1202

jmartisk opened this issue Jan 8, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@jmartisk
Copy link
Collaborator

jmartisk commented Jan 8, 2025

Maybe a crazy idea but... many of our samples currently include a html+javascript+websocket based chat UI (almost exactly the same in all cases). It sounds like we could extract that into something that applications can easily import, either as a separate extension, or a capability of the core extension, and offer some simple SPI to allow applications to customize it.

Compared to the chat page in Dev UI, this would also be available in prod mode.

@jmartisk jmartisk added the enhancement New feature or request label Jan 8, 2025
@gsmet
Copy link
Member

gsmet commented Jan 8, 2025

I would expect people to want a UI that use their JS framework (Vue, React...) and styling conventions (CSS framework) so that might be hard to consume by end users.

@jmartisk
Copy link
Collaborator Author

jmartisk commented Jan 8, 2025

Yeah that certainly is true, but maybe for enabling some quick projects, and demos, a built-in solution that offers just 'enough' customizability may be good. I don't know.

@jmartisk
Copy link
Collaborator Author

jmartisk commented Jan 8, 2025

The sole fact that like 6 of our sample projects duplicate several large html/js files is something to think about. And the same is also in the workshop (https://quarkus.io/quarkus-workshop-langchain4j/), and we expect the users to download a prepared project rather than create it from scratch, which isn't that nice either.

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

No branches or pull requests

2 participants