Further Customization with Chatbot
Explore how to customize chatbot UIs in Gradio using the Chatbot component and event listeners. Learn to add interactive elements such as like and dislike buttons that influence chatbot responses, enhancing user interaction and control.
We'll cover the following...
Chatbot overview
Similar to how we have used Blocks to create more customizable pages compared to Interface, we can also use Chatbot instead of ChatInterface. Chatbot is more low-level than ChatInterface, and allows more control over the chatbot UI. If we want to customize our pages more, such as having specific buttons, markdowns or other such components, we can use Chatbot instead.
Chatbot functions similarly to the ChatInterface. However, rather than requiring a function, this must instead be triggered via Event Listeners. If the Chatbot ...