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