Implemented interface member:
method
GetAudioAsync
Microsoft.Extensions.AI.ITextToSpeechClient.GetAudioAsync(System.String, Microsoft.Extensions.AI.TextToSpeechOptions, System.Threading.CancellationToken)
3 overrides of GetAudioAsync
Microsoft.Extensions.AI (3)
TextToSpeech\ConfigureOptionsTextToSpeechClient.cs (1)
40
public override async Task<TextToSpeechResponse>
GetAudioAsync
(
TextToSpeech\LoggingTextToSpeechClient.cs (1)
57
public override async Task<TextToSpeechResponse>
GetAudioAsync
(
TextToSpeech\OpenTelemetryTextToSpeechClient.cs (1)
105
public override async Task<TextToSpeechResponse>
GetAudioAsync
(string text, TextToSpeechOptions? options = null, CancellationToken cancellationToken = default)
4 references to GetAudioAsync
Microsoft.Extensions.AI (3)
TextToSpeech\ConfigureOptionsTextToSpeechClient.cs (1)
43
return await base.
GetAudioAsync
(text, Configure(options), cancellationToken);
TextToSpeech\LoggingTextToSpeechClient.cs (1)
74
var response = await base.
GetAudioAsync
(text, options, cancellationToken);
TextToSpeech\OpenTelemetryTextToSpeechClient.cs (1)
117
response = await base.
GetAudioAsync
(text, options, cancellationToken);
Microsoft.Extensions.AI.Abstractions.Tests (1)
TextToSpeech\DelegatingTextToSpeechClientTests.cs (1)
43
var resultTask = delegating.
GetAudioAsync
(expectedText, expectedOptions, expectedCancellationToken);