Del via


TextToSpeechClientMetadata(String, Uri, String) Constructor

Definition

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.

Applies to