-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement simple gradio demo app to showcase Vanna #1
base: main
Are you sure you want to change the base?
Conversation
Thanks!! I couldn't find any documentation on this but is it possible to get the Plotly chart to display as part of the Gradio chatbot interface? |
Sorry, I have been on holiday and I am returning back to work from tomorrow. Before I left, I looked into embedding non-text widgets inside Gradio's ChatBot widget. I was surprised to learn that the widget only support static items. You can display figures if you save them as image files on disk. This I managed to get working, but I am not sure this is what we want. If we want a similar chat UI feeling as Streamlit offers, we either need to use a custom chatbot widget, implement our own container widget and see if we can add widgets similarly to a chatbot, or we have to go away from a typical chatbot flow, with different views for different scenarios in the prompt-completion flow. What do you think? EDIT: Note that it is possible to render plotly stuff using Gonna be impossible to add a way to change the generated SQL query code directly in the |
This looks really really good! Is it ready to merge? I'd love to try this out |
@zainhoda No, not yet. I got a bit busy with finalising my thesis work. Im submitting my PhD thesis at the end of April, but I can take a look at this again after Easter. Stay tuned! :] |
@AK391 I have an OK version somewhat ready, but it will need to wait after I have defended my PhD November 15th. |
I only made it a draft to discuss some implementation ideas.