Skip to content

Function: SpeechInput()

ts
function SpeechInput(props: UiSpeechInputProps): Block;

Defined in: src/renderer/blocks/index.ts:2802

Experimental

SpeechInput — toggle button that streams speech-to-text via the browser's Web Speech API. Pass name to append final transcripts to state[name] (interim chunks land at state[name + ':interim']).

Privacy note: Chrome's implementation streams audio to Google's servers — the API is royalty-free but not local-only.

Parameters

ParameterType
propsUiSpeechInputProps

Returns

Block

Matterway Assistant SDK Documentation