Skip to main content

createSpeechGenerateTool

@retinue/monorepo


@retinue/monorepo / backend/src / createSpeechGenerateTool

Function: createSpeechGenerateTool()

createSpeechGenerateTool(deps, provider, audio): Tool

Defined in: backend/src/tools/library/audio.ts:139

Audio — REQ-062 (#257), task #258.

Library tools rather than a tools-media package, and the reason is argued in audio.ts: they take ports, not a vendor, exactly as createWebSearchTool does.

Parameters​

deps​

DelegatingToolDeps

provider​

SpeechProvider

audio​

AudioToolDeps

Returns​

Tool