ConfigureOptionsSpeechToTextClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a delegating chat client that configures a SpeechToTextOptions instance used by the remainder of the pipeline.
public ref class ConfigureOptionsSpeechToTextClient sealed : Microsoft::Extensions::AI::DelegatingSpeechToTextClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class ConfigureOptionsSpeechToTextClient : Microsoft.Extensions.AI.DelegatingSpeechToTextClient
public sealed class ConfigureOptionsSpeechToTextClient : Microsoft.Extensions.AI.DelegatingSpeechToTextClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type ConfigureOptionsSpeechToTextClient = class
inherit DelegatingSpeechToTextClient
type ConfigureOptionsSpeechToTextClient = class
inherit DelegatingSpeechToTextClient
Public NotInheritable Class ConfigureOptionsSpeechToTextClient
Inherits DelegatingSpeechToTextClient
- Inheritance
- Attributes
Constructors
ConfigureOptionsSpeechToTextClient(ISpeechToTextClient, Action<SpeechToTextOptions>) |
Initializes a new instance of the ConfigureOptionsSpeechToTextClient class with the specified |
Properties
InnerClient |
Gets the inner ISpeechToTextClient. (Inherited from DelegatingSpeechToTextClient) |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DelegatingSpeechToTextClient) |
Dispose(Boolean) |
Provides a mechanism for releasing unmanaged resources. (Inherited from DelegatingSpeechToTextClient) |
GetService(Type, Object) |
Asks the ISpeechToTextClient for an object of the specified type |
GetStreamingTextAsync(Stream, SpeechToTextOptions, CancellationToken) | |
GetTextAsync(Stream, SpeechToTextOptions, CancellationToken) |
Extension Methods
AsBuilder(ISpeechToTextClient) |
Creates a new SpeechToTextClientBuilder using |
GetService<TService>(ISpeechToTextClient, Object) |
Asks the ISpeechToTextClient for an object of type |
GetStreamingTextAsync(ISpeechToTextClient, DataContent, SpeechToTextOptions, CancellationToken) |
Generates text from speech providing a single audio speech DataContent. |
GetTextAsync(ISpeechToTextClient, DataContent, SpeechToTextOptions, CancellationToken) |
Generates text from speech providing a single audio speech DataContent. |