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