20 instantiations of SpeechToTextResponse
Microsoft.Extensions.AI.Abstractions (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.SpeechToTextResponse.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.
SpeechToTextResponse
(),
SpeechToText\SpeechToTextResponseUpdateExtensions.cs (2)
27
SpeechToTextResponse response =
new
();
53
SpeechToTextResponse response =
new
();
Microsoft.Extensions.AI.Abstractions.Tests (13)
Generated\361d1da7f942c932\TestJsonSerializerContext.SpeechToTextResponse.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.Extensions.AI.
SpeechToTextResponse
(),
SpeechToText\DelegatingSpeechToTextClientTests.cs (1)
29
var expectedResponse = new
SpeechToTextResponse
([]);
SpeechToText\SpeechToTextClientTests.cs (2)
17
var expectedResponse = new
SpeechToTextResponse
("hello");
27
return Task.FromResult(new
SpeechToTextResponse
("hello"));
SpeechToText\SpeechToTextResponseTests.cs (9)
17
Assert.Throws<ArgumentNullException>("contents", () => new
SpeechToTextResponse
((IList<AIContent>)null!));
23
SpeechToTextResponse response =
new
();
42
SpeechToTextResponse response =
new
(text);
64
Assert.Throws<ArgumentNullException>("contents", () => new
SpeechToTextResponse
((IList<AIContent>)null!));
79
SpeechToTextResponse response =
new
(content);
104
SpeechToTextResponse response =
new
();
146
SpeechToTextResponse original =
new
()
196
SpeechToTextResponse response =
new
("This is a test." + Environment.NewLine + "It's multiple lines.");
206
SpeechToTextResponse response =
new
()
Microsoft.Extensions.AI.OpenAI (1)
OpenAISpeechToTextClient.cs (1)
61
SpeechToTextResponse response =
new
();
Microsoft.Extensions.AI.Tests (3)
SpeechToText\ConfigureOptionsSpeechToTextClientTests.cs (1)
38
SpeechToTextResponse expectedResponse =
new
([]);
SpeechToText\LoggingSpeechToTextClientTests.cs (1)
61
return Task.FromResult(new
SpeechToTextResponse
("blue whale"));
SpeechToText\OpenTelemetrySpeechToTextClientTests.cs (1)
47
return
new
("This is the recognized text.")
152 references to SpeechToTextResponse
Microsoft.Extensions.AI (8)
SpeechToText\ConfigureOptionsSpeechToTextClient.cs (1)
41
public override async Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToText\LoggingSpeechToTextClient.cs (2)
58
public override async Task<
SpeechToTextResponse
> GetTextAsync(
75
var
response = await base.GetTextAsync(audioSpeechStream, options, cancellationToken);
SpeechToText\OpenTelemetrySpeechToTextClient.cs (5)
106
public override async Task<
SpeechToTextResponse
> GetTextAsync(Stream audioSpeechStream, SpeechToTextOptions? options = null, CancellationToken cancellationToken = default)
114
SpeechToTextResponse
? response = null;
244
SpeechToTextResponse
? response,
320
void AddMetricTags(ref TagList tags, string? requestModelId,
SpeechToTextResponse
? response)
344
private void AddOutputMessagesTags(
SpeechToTextResponse
response, Activity? activity)
Microsoft.Extensions.AI.Abstractions (67)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
296
if (type == typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.SpeechToTextResponse.g.cs (42)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>? _SpeechToTextResponse;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> SpeechToTextResponse
24
get => _SpeechToTextResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> Create_SpeechToTextResponse(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).StartTime,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).StartTime = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("StartTime", InstanceMemberBindingFlags, null, typeof(global::System.TimeSpan?), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).EndTime,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).EndTime = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("EndTime", InstanceMemberBindingFlags, null, typeof(global::System.TimeSpan?), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
100
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ResponseId,
101
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ResponseId = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("ResponseId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
120
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ModelId,
121
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ModelId = value!,
128
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("ModelId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
138
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
148
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
158
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
160
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).AdditionalProperties,
161
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).AdditionalProperties = value!,
168
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
178
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
188
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Text", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
199
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
201
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Contents,
202
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Contents = value!,
209
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Contents", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
220
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
222
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Usage,
223
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Usage = value!,
230
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Usage", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.UsageDetails), global::System.Array.Empty<global::System.Type>(), null),
SpeechToText\DelegatingSpeechToTextClient.cs (1)
45
public virtual Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToText\ISpeechToTextClient.cs (1)
37
Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToText\SpeechToTextClientExtensions.cs (1)
41
public static Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToText\SpeechToTextResponse.cs (6)
20
/// <summary>Initializes a new instance of the <see cref="
SpeechToTextResponse
"/> class.</summary>
26
/// <summary>Initializes a new instance of the <see cref="
SpeechToTextResponse
"/> class.</summary>
33
/// <summary>Initializes a new instance of the <see cref="
SpeechToTextResponse
"/> class.</summary>
54
/// If a <see cref="
SpeechToTextResponse
"/> is created to represent some underlying object from another object
74
/// <summary>Creates an array of <see cref="SpeechToTextResponseUpdate" /> instances that represent this <see cref="
SpeechToTextResponse
" />.</summary>
75
/// <returns>An array of <see cref="SpeechToTextResponseUpdate" /> instances that may be used to represent this <see cref="
SpeechToTextResponse
" />.</returns>
SpeechToText\SpeechToTextResponseUpdate.cs (3)
24
/// The relationship between <see cref="
SpeechToTextResponse
"/> and <see cref="SpeechToTextResponseUpdate"/> is
26
/// <see cref="
SpeechToTextResponse
.ToSpeechToTextResponseUpdates"/>, which enable bidirectional conversions
29
/// only one slot for such an object available in <see cref="
SpeechToTextResponse
.RawRepresentation"/>.
SpeechToText\SpeechToTextResponseUpdateExtensions.cs (11)
19
/// <summary>Combines <see cref="SpeechToTextResponseUpdate"/> instances into a single <see cref="
SpeechToTextResponse
"/>.</summary>
21
/// <returns>The combined <see cref="
SpeechToTextResponse
"/>.</returns>
22
public static
SpeechToTextResponse
ToSpeechToTextResponse(
27
SpeechToTextResponse
response = new();
39
/// <summary>Combines <see cref="SpeechToTextResponseUpdate"/> instances into a single <see cref="
SpeechToTextResponse
"/>.</summary>
42
/// <returns>The combined <see cref="
SpeechToTextResponse
"/>.</returns>
43
public static Task<
SpeechToTextResponse
> ToSpeechToTextResponseAsync(
50
static async Task<
SpeechToTextResponse
> ToResponseAsync(
53
SpeechToTextResponse
response = new();
68
/// <param name="response">The <see cref="
SpeechToTextResponse
"/> object that should be updated based on <paramref name="update"/>.</param>
71
SpeechToTextResponse
response)
Utilities\AIJsonUtilities.Defaults.cs (1)
127
[JsonSerializable(typeof(
SpeechToTextResponse
))]
Microsoft.Extensions.AI.Abstractions.Tests (63)
Generated\361d1da7f942c932\TestJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
306
if (type == typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
))
Generated\361d1da7f942c932\TestJsonSerializerContext.SpeechToTextResponse.g.cs (42)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>? _SpeechToTextResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> SpeechToTextResponse
22
get => _SpeechToTextResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> Create_SpeechToTextResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.
SpeechToTextResponse
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
58
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).StartTime,
59
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).StartTime = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("StartTime", InstanceMemberBindingFlags, null, typeof(global::System.TimeSpan?), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
78
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).EndTime,
79
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).EndTime = value!,
86
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("EndTime", InstanceMemberBindingFlags, null, typeof(global::System.TimeSpan?), global::System.Array.Empty<global::System.Type>(), null),
96
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
98
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ResponseId,
99
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ResponseId = value!,
106
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("ResponseId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
116
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
118
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ModelId,
119
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).ModelId = value!,
126
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("ModelId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
136
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
146
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("RawRepresentation", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
156
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
158
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).AdditionalProperties,
159
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).AdditionalProperties = value!,
166
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("AdditionalProperties", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.AdditionalPropertiesDictionary), global::System.Array.Empty<global::System.Type>(), null),
176
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
186
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Text", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
197
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
199
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Contents,
200
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Contents = value!,
207
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Contents", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
219
DeclaringType = typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
),
221
Getter = static obj => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Usage,
222
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.
SpeechToTextResponse
)obj).Usage = value!,
229
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.
SpeechToTextResponse
).GetProperty("Usage", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.UsageDetails), global::System.Array.Empty<global::System.Type>(), null),
SpeechToText\DelegatingSpeechToTextClientTests.cs (2)
28
var expectedResult = new TaskCompletionSource<
SpeechToTextResponse
>();
29
var
expectedResponse = new SpeechToTextResponse([]);
SpeechToText\SpeechToTextClientTests.cs (2)
17
var
expectedResponse = new SpeechToTextResponse("hello");
32
SpeechToTextResponse
response = await SpeechToTextClientExtensions.GetTextAsync(
SpeechToText\SpeechToTextResponseTests.cs (10)
23
SpeechToTextResponse
response = new();
42
SpeechToTextResponse
response = new(text);
79
SpeechToTextResponse
response = new(content);
104
SpeechToTextResponse
response = new();
146
SpeechToTextResponse
original = new()
166
SpeechToTextResponse
? result = JsonSerializer.Deserialize(json, TestJsonSerializerContext.Default.SpeechToTextResponse);
196
SpeechToTextResponse
response = new("This is a test." + Environment.NewLine + "It's multiple lines.");
206
SpeechToTextResponse
response = new()
278
SpeechToTextResponse
? result = JsonSerializer.Deserialize<
SpeechToTextResponse
>(Json, AIJsonUtilities.DefaultOptions);
SpeechToText\SpeechToTextResponseUpdateExtensionsTests.cs (3)
56
SpeechToTextResponse
response = useAsync ?
121
SpeechToTextResponse
response = useAsync ? await YieldAsync(updates).ToSpeechToTextResponseAsync() : updates.ToSpeechToTextResponse();
145
SpeechToTextResponse
response = await YieldAsync(updates).ToSpeechToTextResponseAsync();
TestJsonSerializerContext.cs (1)
19
[JsonSerializable(typeof(
SpeechToTextResponse
))]
TestSpeechToTextClient.cs (2)
25
Task<
SpeechToTextResponse
>>?
41
public Task<
SpeechToTextResponse
> GetTextAsync(
Microsoft.Extensions.AI.Integration.Tests (4)
parent\Microsoft.Extensions.AI.Abstractions.Tests\TestSpeechToTextClient.cs (2)
25
Task<
SpeechToTextResponse
>>?
41
public Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToTextClientIntegrationTests.cs (2)
38
var
response = await _client.GetTextAsync(audioSpeechStream);
72
var
response = await _client.GetTextAsync(audioSpeechStream);
Microsoft.Extensions.AI.OpenAI (2)
OpenAISpeechToTextClient.cs (2)
56
public async Task<
SpeechToTextResponse
> GetTextAsync(
61
SpeechToTextResponse
response = new();
Microsoft.Extensions.AI.OpenAI.Tests (3)
OpenAISpeechToTextClientTests.cs (3)
90
var
response = await client.GetTextAsync(audioSpeechStream, new SpeechToTextOptions
402
var
response = await client.GetTextAsync(audioSpeechStream);
466
var
response = await client.GetTextAsync(audioSpeechStream);
Microsoft.Extensions.AI.Tests (5)
parent\Microsoft.Extensions.AI.Abstractions.Tests\TestSpeechToTextClient.cs (2)
25
Task<
SpeechToTextResponse
>>?
41
public Task<
SpeechToTextResponse
> GetTextAsync(
SpeechToText\ConfigureOptionsSpeechToTextClientTests.cs (2)
38
SpeechToTextResponse
expectedResponse = new([]);
78
var
response = await client.GetTextAsync(audioSpeechStream, providedOptions, cts.Token);
SpeechToText\OpenTelemetrySpeechToTextClientTests.cs (1)
104
var
response = streaming ?