Implemented interface member:
method
GetTextAsync
Microsoft.Extensions.AI.ISpeechToTextClient.GetTextAsync(System.IO.Stream, Microsoft.Extensions.AI.SpeechToTextOptions, System.Threading.CancellationToken)
3 overrides of GetTextAsync
Microsoft.Extensions.AI (3)
SpeechToText\ConfigureOptionsSpeechToTextClient.cs (1)
41
public override async Task<SpeechToTextResponse>
GetTextAsync
(
SpeechToText\LoggingSpeechToTextClient.cs (1)
58
public override async Task<SpeechToTextResponse>
GetTextAsync
(
SpeechToText\OpenTelemetrySpeechToTextClient.cs (1)
115
public override async Task<SpeechToTextResponse>
GetTextAsync
(Stream audioSpeechStream, SpeechToTextOptions? options = null, CancellationToken cancellationToken = default)
4 references to GetTextAsync
Microsoft.Extensions.AI (3)
SpeechToText\ConfigureOptionsSpeechToTextClient.cs (1)
44
return await base.
GetTextAsync
(audioSpeechStream, Configure(options), cancellationToken);
SpeechToText\LoggingSpeechToTextClient.cs (1)
75
var response = await base.
GetTextAsync
(audioSpeechStream, options, cancellationToken);
SpeechToText\OpenTelemetrySpeechToTextClient.cs (1)
127
response = await base.
GetTextAsync
(audioSpeechStream, options, cancellationToken);
Microsoft.Extensions.AI.Abstractions.Tests (1)
SpeechToText\DelegatingSpeechToTextClientTests.cs (1)
44
var resultTask = delegating.
GetTextAsync
(expectedAudioSpeechStream, expectedOptions, expectedCancellationToken);