21 references to TextToSpeechOptions
Microsoft.Extensions.AI (1)
TextToSpeech\ConfigureOptionsTextToSpeechClient.cs (1)
59options = options?.Clone() ?? new();
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.TextToSpeechOptions.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.TextToSpeechOptions(),
Microsoft.Extensions.AI.Abstractions.Tests (8)
Generated\361d1da7f942c932\TestJsonSerializerContext.TextToSpeechOptions.g.cs (1)
31ObjectCreator = () => new global::Microsoft.Extensions.AI.TextToSpeechOptions(),
TextToSpeech\DelegatingTextToSpeechClientTests.cs (2)
25var expectedOptions = new TextToSpeechOptions(); 57var expectedOptions = new TextToSpeechOptions();
TextToSpeech\TextToSpeechClientTests.cs (2)
17var expectedOptions = new TextToSpeechOptions(); 41var expectedOptions = new TextToSpeechOptions();
TextToSpeech\TextToSpeechOptionsTests.cs (3)
15TextToSpeechOptions options = new(); 39TextToSpeechOptions options = new(); 83TextToSpeechOptions options = new();
Microsoft.Extensions.AI.Integration.Tests (3)
TextToSpeechClientIntegrationTests.cs (3)
52var response = await _client.GetAudioAsync("The quick brown fox jumps over the lazy dog.", new TextToSpeechOptions 71var response = await _client.GetAudioAsync("Testing audio format selection.", new TextToSpeechOptions 90var response = await _client.GetAudioAsync("This should be spoken quickly.", new TextToSpeechOptions
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAITextToSpeechClientTests.cs (4)
109var response = await client.GetAudioAsync("Hello world", new TextToSpeechOptions 138var response = await client.GetAudioAsync("Hello world", new TextToSpeechOptions 171var response = await client.GetAudioAsync("Hello world", new TextToSpeechOptions 201var response = await client.GetAudioAsync("Hello world", new()
Microsoft.Extensions.AI.Tests (4)
TextToSpeech\ConfigureOptionsTextToSpeechClientTests.cs (1)
35TextToSpeechOptions? providedOptions = nullProvidedOptions ? null : new() { ModelId = "test" };
TextToSpeech\LoggingTextToSpeechClientTests.cs (2)
70new TextToSpeechOptions { VoiceId = "alloy" }); 121new TextToSpeechOptions { VoiceId = "alloy" }))
TextToSpeech\OpenTelemetryTextToSpeechClientTests.cs (1)
90TextToSpeechOptions options = new()