1 write to _client
Microsoft.Extensions.AI.Integration.Tests (1)
TextToSpeechClientIntegrationTests.cs (1)
20
_client
= CreateClient();
8 references to _client
Microsoft.Extensions.AI.Integration.Tests (8)
TextToSpeechClientIntegrationTests.cs (8)
25
_client
?.Dispose();
36
var response = await
_client
.GetAudioAsync("Hello, world!");
52
var response = await
_client
.GetAudioAsync("The quick brown fox jumps over the lazy dog.", new TextToSpeechOptions
71
var response = await
_client
.GetAudioAsync("Testing audio format selection.", new TextToSpeechOptions
90
var response = await
_client
.GetAudioAsync("This should be spoken quickly.", new TextToSpeechOptions
109
await foreach (var update in
_client
.GetStreamingAudioAsync("Hello, world!"))
127
[MemberNotNull(nameof(
_client
))]
132
Assert.SkipUnless(skipIntegration is null &&
_client
is not null, "Client is not enabled.");