QVAC Logo

transcribe( )

This function provides a simple interface for transcribing audio by collecting all streaming results into a single string response.

function transcribe(params: TranscribeClientParams, options?: { forceNewConnection?: boolean; profiling?: { enabled?: boolean; includeServerBreakdown?: boolean; mode?: "summary" | "verbose" }; timeout?: number }): Promise

Parameters

NameTypeRequired?Description
paramsTranscribeClientParamsThe arguments for the transcription
options`{ forceNewConnection?: boolean; profiling?: { enabled?: boolean; includeServerBreakdown?: boolean; mode?: "summary""verbose" }; timeout?: number }`

Returns

Promise

Throws

ErrorWhen
When transcription fails (propagated from transcribeStream)

On this page