Voice
Connect speech synthesis and dictation adapters to assistant-ui voice and composer workflows.
API Reference
DictationAdapter
DictationAdapterlisten: () => DictationAdapter.SessiondisableInputDuringDictation?: boolean
DictationState
DictationStatestatus: DictationAdapter.Statustype: "starting" | "running"
transcript?: stringinputDisabled?: boolean
SpeechSynthesisAdapter
SpeechSynthesisAdapterspeak: (text: string) => SpeechSynthesisAdapter.Utterance
WebSpeechDictationAdapter
WebSpeechDictationAdapterconstructor?: (options: { language?: string; continuous?: boolean; interimResults?: boolean; } = {}) => WebSpeechDictationAdapterstatic isSupported?: () => booleanlisten?: () => DictationAdapter.Session
WebSpeechSynthesisAdapter
WebSpeechSynthesisAdapterspeak?: (text: string) => SpeechSynthesisAdapter.Utterance