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)
64serviceType == typeof(AudioClient) ? _audioClient : 83var translation = (await _audioClient.TranslateAudioAsync(audioSpeechStream, filename, ToOpenAITranslationOptions(options), cancellationToken).ConfigureAwait(false)).Value; 97var transcription = (await _audioClient.TranscribeAudioAsync(audioSpeechStream, filename, ToOpenAITranscriptionOptions(options), cancellationToken).ConfigureAwait(false)).Value; 141await foreach (var update in _audioClient.TranscribeAudioStreamingAsync(