FeedbackOptions
Prop | Type | Description |
---|---|---|
enabled | boolean | Enable feedback functionality, shows a thumbs up/down button after a
prompt was submitted. Default: |
votes | boolean | Enable votes. Default: |
csat | boolean | Enable thread CSAT. Default: |
csatReason | boolean | Enable thread CSAT reason. Default: |
heading | string | Heading above the form. Default: |
headingCSAT | string | Heading above the CSAT picker. Default: |
headingCSATReason | string | Heading above the CSAT reason input field. Default: |
thankYouCSATReason | string | Heading above the CSAT reason input field when the user
has submitted a reason. Default: |
onFeedbackSubmit | ( feedback: PromptFeedback, messages: ChatViewMessage[], messageId?: string, ) => void | Called when feedback is submitted. |