Table of Contents

Method TranscribeAsync

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

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

Transcribes WAV audio through the configured provider.

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

Parameters

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

Returns

Task<SpeechTranscription>