Add a Chatbot block to the UI
@{chat}
. This is the state variable that stores the chat conversation.AI
. This is the text that appears next to the assistant’s messages in the chat.YOU
. This is the text that appears next to the user’s messages in the chat.no
. You can change this to yes
if you want to parse Markdown formatting in messages.no
. This disables the file uploads in the chatbot.Type your message here.
. This is the text that appears in the input field when it’s empty.Add a UI trigger for the chat message event
Chatbot
component from the dropdown of UI blockswf-chatbot-message
Add a Chat reply block
chat
@{payload}
. This is the message that the user sends to the chatbot that triggers the blueprint to run.Update the Chat reply block