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