1 write to _audioClient
Microsoft.Extensions.AI.OpenAI (1)
OpenAISpeechToTextClient.cs (1)
42
_audioClient
= audioClient;
4 references to _audioClient
Microsoft.Extensions.AI.OpenAI (4)
OpenAISpeechToTextClient.cs (4)
64
serviceType == typeof(AudioClient) ?
_audioClient
:
83
var translation = (await
_audioClient
.TranslateAudioAsync(audioSpeechStream, filename, ToOpenAITranslationOptions(options), cancellationToken).ConfigureAwait(false)).Value;
97
var transcription = (await
_audioClient
.TranscribeAudioAsync(audioSpeechStream, filename, ToOpenAITranscriptionOptions(options), cancellationToken).ConfigureAwait(false)).Value;
141
await foreach (var update in
_audioClient
.TranscribeAudioStreamingAsync(