Table of Contents

Method TranscribeAsync

Namespace
Oscova.Agents.Speech
Assembly
Oscova.Agents.dll

TranscribeAsync(SpeechProviderConfig, string?, byte[], string, CancellationToken)

Transcribes WAV audio using the supplied provider configuration.

Task<SpeechTranscription> TranscribeAsync(SpeechProviderConfig config, string? apiKey, byte[] wavBytes, string language = "auto", CancellationToken ct = default)

Parameters

config SpeechProviderConfig
apiKey string?
wavBytes byte[]
language string
ct CancellationToken

Returns

Task<SpeechTranscription>