TextToSpeechClientMetadata(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 TextToSpeechClientMetadata class.
public TextToSpeechClientMetadata(string? providerName = default, Uri? providerUri = default, string? defaultModelId = default);
new Microsoft.Extensions.AI.TextToSpeechClientMetadata : string * Uri * string -> Microsoft.Extensions.AI.TextToSpeechClientMetadata
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 text to speech 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 text to speech provider, if applicable.
- defaultModelId
- String
The ID of the text to speech model used by default, if applicable.