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
configSpeechProviderConfigapiKeystring?wavBytesbyte[]requireLocalEndpointboollanguagestringctCancellationToken