Skip to main content

Welcome Messages

Display an initial greeting:

Suggested Prompts

Show predefined prompts (only when no history exists):

Disable Attachments and Audio Input

Custom Speech-to-Text

Provide your own implementation:

Cancel and Error Behavior

Override default cancel/error handling:

Manage History

Access and modify history via the provider:

Chat Serialization/Deserialization

Save history:
Restore history:

Custom Response Widgets

Replace default Markdown rendering:

Custom Styling

Fully customize the appearance:
See the styles example for complete options.

Drag and Drop

On desktop and web platforms, users can drag and drop files directly into the chat to attach them. The drop zone overlay can be customized:
Drag and drop is automatically enabled when enableAttachments is true (the default). It’s not available on mobile platforms (Android/iOS) where users should use the attachment buttons instead.

Rerouting Prompts

Debug, log, or manipulate the connection: