20 references to SpeechToTextOptions
Microsoft.Extensions.AI (1)
SpeechToText\ConfigureOptionsSpeechToTextClient.cs (1)
60options = options?.Clone() ?? new();
Microsoft.Extensions.AI.Abstractions (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.SpeechToTextOptions.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.SpeechToTextOptions(),
Microsoft.Extensions.AI.Abstractions.Tests (9)
Generated\361d1da7f942c932\TestJsonSerializerContext.SpeechToTextOptions.g.cs (1)
31ObjectCreator = () => new global::Microsoft.Extensions.AI.SpeechToTextOptions(),
SpeechToText\DelegatingSpeechToTextClientTests.cs (2)
26var expectedOptions = new SpeechToTextOptions(); 58var expectedOptions = new SpeechToTextOptions();
SpeechToText\SpeechToTextClientExtensionsTests.cs (1)
56var expectedOptions = new SpeechToTextOptions();
SpeechToText\SpeechToTextClientTests.cs (2)
18var expectedOptions = new SpeechToTextOptions(); 46var expectedOptions = new SpeechToTextOptions();
SpeechToText\SpeechToTextOptionsTests.cs (3)
15SpeechToTextOptions options = new(); 31SpeechToTextOptions options = new(); 63SpeechToTextOptions options = new();
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAISpeechToTextClientTests.cs (5)
90var response = await client.GetTextAsync(audioSpeechStream, new SpeechToTextOptions 165await foreach (var update in client.GetStreamingTextAsync(audioSpeechStream, new SpeechToTextOptions 200await foreach (var update in client.GetStreamingTextAsync(audioSpeechStream, new SpeechToTextOptions 237Assert.NotNull(await client.GetTextAsync(audioSpeechStream, new() 274Assert.NotNull(await client.GetTextAsync(audioSpeechStream, new()
Microsoft.Extensions.AI.Tests (4)
SpeechToText\ConfigureOptionsSpeechToTextClientTests.cs (1)
36SpeechToTextOptions? providedOptions = nullProvidedOptions ? null : new() { ModelId = "test" };
SpeechToText\LoggingSpeechToTextClientTests.cs (2)
73new SpeechToTextOptions { SpeechLanguage = "pt" }); 123new SpeechToTextOptions { SpeechLanguage = "pt" }))
SpeechToText\OpenTelemetrySpeechToTextClientTests.cs (1)
94SpeechToTextOptions options = new()