SpeechToText
configurationConfigures speech-to-text functionality for the prompt input. When true, enables speech-to-text with default settings. When false, disables the feature. When an object, configures custom speech-to-text options.
speechToText
Boolean|ObjectDefault: false
speechToText.continuous
BooleanSpecifies whether to continue listening after a result is received.
Default: false
Specifies the integration mode for speech recognition. Available modes:
"webSpeech"- Uses the Web Speech API"none"- Provides button without actual speech recognition
Default: "webSpeech"
speechToText.interimResults
BooleanSpecifies whether to return interim results during speech recognition.
Default: false
speechToText.lang
StringSpecifies the language code for speech recognition.
Default: "en-US"
Specifies the maximum number of alternatives to return from speech recognition.
Default: 1