Skip to content

Function: speech()

ts
function speech(text: string): ReplyFragment;

Defined in: packages/sdk/src/renderer/templates/chat-tools.ts:70

Speak the text aloud (on-device text-to-speech).

Parameters

ParameterType
textstring

Returns

ReplyFragment

Matterway Assistant SDK Documentation