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

Allow radio buttons in gr.Chatbot #8698

Open
latinostats opened this issue Jul 3, 2024 · 1 comment
Open

Allow radio buttons in gr.Chatbot #8698

latinostats opened this issue Jul 3, 2024 · 1 comment
Labels
💬 Chatbot Related to the Chatbot component enhancement New feature or request

Comments

@latinostats
Copy link

latinostats commented Jul 3, 2024

A very common pattern in chatbots is to present the user with specific options to choose from (this functionality is present in MS Copilot, see picture below)
drawing

Would it be possible to include a component that could include a text string and provide a group of selectable options that could be captured for backend processing within the Chatbot component?
FYI... this would help LLM RAG pipelines since these options can be very useful for metadata filtering of documents!

@abidlabs abidlabs changed the title "User Choice" component Allow radio buttons in gr.Chatbot Jul 3, 2024
@abidlabs abidlabs added enhancement New feature or request 💬 Chatbot Related to the Chatbot component labels Jul 3, 2024
@abidlabs
Copy link
Member

abidlabs commented Jul 3, 2024

Related: #4763

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

No branches or pull requests

2 participants