Share via


AzureOpenAISettings Class

Definition

The settings relevant to accessing Azure OpenAI or OpenAI.

public sealed class AzureOpenAISettings
type AzureOpenAISettings = class
Public NotInheritable Class AzureOpenAISettings
Inheritance
AzureOpenAISettings

Constructors

Name Description
AzureOpenAISettings()

Properties

Name Description
Credential

Gets or sets the credential used to authenticate to the Azure OpenAI resource.

DisableMetrics

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

EnableSensitiveTelemetryData

Gets or sets a boolean value indicating whether potentially sensitive information should be included in telemetry.

Endpoint

Gets or sets a Uri referencing the Azure OpenAI endpoint. This is likely to be similar to "https://{account_name}.openai.azure.com".

Key

Gets or sets the key to use to authenticate to the Azure OpenAI endpoint.

Applies to