Messages
configurationThe text messages displayed in the component. Use this option to customize or localize the messages.
messages
Objectmessages.commandsView
StringThe text of the commands view button in the ToolBar.
Default: ""
messages.copyOutput
StringThe text of the copy output button in the output element.
Default: "Copy"
messages.customView
StringThe text of the custom view button in the ToolBar.
Default: "Custom View"
messages.generateOutput
StringThe text of the generate output button in the prompt view footer.
Default: "Generate"
The title of the output card when the output is generated after clicking the retry button of an output.
Default: "Generated with AI"
messages.outputTitle
StringThe title of the output card when the output is generated.
Default: "Generated with AI"
messages.outputView
StringThe text of the output view button in the ToolBar.
Default: "Output"
The placeholder text of the textarea input of the prompt view.
Default: "Ask or generate content with AI"
The text of the prompt suggestions toggle button in the prompt view.
Default: "Prompt Suggestions"
messages.promptView
StringThe text of the prompt view button in the ToolBar.
Default: "Ask AI"
messages.rateNegative
StringThe text of the negative rating button in the output card.
Default: ""
messages.ratePositive
StringThe text of the positive rating button in the output card.
Default: ""
messages.retryGeneration
StringThe text of the retry generation button in the output card.
Default: "Retry"
messages.stopGeneration
StringThe aria-label and title of the stop generation button that appears during streaming operations.
Default: "Stop Generation"