TranscriptionProvider
Defined in: core/src/transcription-core.ts:73
Properties
Section titled “Properties”readonly id: string;Defined in: core/src/transcription-core.ts:74
readonly model: string;Defined in: core/src/transcription-core.ts:75
Methods
Section titled “Methods”transcribe()
Section titled “transcribe()”transcribe(request): Promise<TranscriptionResult>;Defined in: core/src/transcription-core.ts:81
Exactly one HTTP request. No retry, no fallback, no second key. Throws a
ProviderError; a reply that arrived but holds no usable transcript throws a
TranscriptionError, which keeps the usage the provider billed for it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request |
TranscriptionRequest |
Returns
Section titled “Returns”Promise<TranscriptionResult>