SpeechToTextClientMetadata(String, Uri, String) Constructor
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.
Initializes a new instance of the SpeechToTextClientMetadata class.
public SpeechToTextClientMetadata(string? providerName = default, Uri? providerUri = default, string? defaultModelId = default);
new Microsoft.Extensions.AI.SpeechToTextClientMetadata : string * Uri * string -> Microsoft.Extensions.AI.SpeechToTextClientMetadata
Public Sub New (Optional providerName As String = Nothing, Optional providerUri As Uri = Nothing, Optional defaultModelId As String = Nothing)
Parameters
- providerName
- String
The name of the speech to text provider, if applicable. Where possible, this should map to the appropriate name defined in the OpenTelemetry Semantic Conventions for Generative AI systems.
- providerUri
- Uri
The URL for accessing the speech to text provider, if applicable.
- defaultModelId
- String
The ID of the speech to text used by default, if applicable.