A chatbot component to build human-to-AI interactions. Connect it to an LLM by handling the wf-chatbot-message event, which is triggered every time the user sends a message. You can add actions to messages, which are buttons that trigger the wf-chatbot-action-click. See the stubs for more details.

Fields

NameTypeDescriptionOptions
ConversationObjectAn array with messages or a variable that contains your conversation as an object.-
Assistant initialsText--
User initialsText--
Enable markdownBooleanIf active, the output will be sanitized; unsafe elements will be removed.-
Enable file uploadText-
  1. Single file
  2. Multiple files
  3. No
PlaceholderText--
Assistant roleColor--
User roleColor--
AvatarColor--
Avatar textColor--
AccentColor--
Container backgroundColor--
Primary textColor--
Secondary textColor--
SeparatorColor--
ButtonColor--
Button textColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-

Events