ChatOptions
Prop | Type | Description |
---|---|---|
enabled | boolean | Show a chat-like interface. Default: |
label | string | Label for the chat input Default: |
title | string | Title for the standalone chat view Default: |
tabLabel | string | Label for the tab bar Default: |
placeholder | string | Placeholder for the chat input Default: |
buttonLabel | string | Label for the submit button Default: |
errorText | ComponentType<{ error: Error }> | Component to render when an error occurs in prompt view |
showCopy | boolean | Show copy response button Default: |
history | boolean | Enable chat history features
|
defaultView | DefaultViewProps | Default (empty) view |
disclaimerView | DisclaimerViewProps | Disclaimer view |
avatars | AvatarsOptions | Avatars to use for chat messages. |