Skip to main content

Interface: IAudioTranscriberBrainService<TSettings>

Service for transcribing audio (speech-to-text)

Type parameters

NameDescription
TSettingsThe type of the brain settings

Hierarchy

Table of contents

Methods

Methods

transcribeAudio

transcribeAudio(audioPath, context): Promise<BrainPromptResponse>

Parameters

NameTypeDescription
audioPathLocalAudioPromptA local path to the audio file
contextIBrainPromptContext<TSettings>Some additional data we can send to the brain along with the prompt

Returns

Promise<BrainPromptResponse>

Defined in

models/brainService.ts:218