AIChatPanelMixin

Configs

5
autoReadAloud: Boolean | audio-inputAlso a property

Set to true to always read aloud received messages. Set to false to not read aloud responses to recorded messages. Defaults to audio-input which reads received messages aloud if they are a response to a local audio message.

formatText: function

Configure with a function that takes a string and returns a formatted string which will be rendered as message content. Defaults to a built-in simple Markdown parser.

ParameterTypeDescription
unformattedTextString
Returns: String -

formattedText

Set to true to show an icon which displays the confidence level supplied by the AI.

Set to true to show an icon which reads the message back to the user.

Set to true to show a button in the message field which starts and stops microphone recording

Properties

4
autoReadAloud: Boolean | audio-inputAlso a config

Set to true to always read aloud received messages. Set to false to not read aloud responses to recorded messages. Defaults to audio-input which reads received messages aloud if they are a response to a local audio message.

Set to true to show an icon which displays the confidence level supplied by the AI.

Set to true to show an icon which reads the message back to the user.

Set to true to show a button in the message field which starts and stops microphone recording