From 105009bc8e95ff447111809a61ff59d3b6e29c63 Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Tue, 7 Jan 2025 12:19:19 -0800 Subject: [PATCH] docs --- guides/05_chatbots/01_creating-a-chatbot-fast.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guides/05_chatbots/01_creating-a-chatbot-fast.md b/guides/05_chatbots/01_creating-a-chatbot-fast.md index 27ef1b7692003..827ad791b96a6 100644 --- a/guides/05_chatbots/01_creating-a-chatbot-fast.md +++ b/guides/05_chatbots/01_creating-a-chatbot-fast.md @@ -313,6 +313,10 @@ gr.ChatInterface( Similarly, you could return image files with `gr.Image`, video files with `gr.Video`, or arbitrary files with the `gr.File` component. +**Displaying thoughts or tool usage** + +The Gradio + **Providing preset responses** You may want to provide preset responses that a user can choose between when conversing with your chatbot. To do this, return a complete openai-style message dictionary from your chat function, and add the `options` key to the dictionary returned from your chat function to set these responses.