AzureOpenAISettings
Class sealed net10.0
The settings relevant to accessing Azure OpenAI or OpenAI.
namespace Aspire.Azure.AI.OpenAI;
public sealed class AzureOpenAISettings : Aspire.Azure.Common.IConnectionStringSettings{ // ...} IConnectionStringSettings
7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesCredentialget; setTokenCredential? Gets or sets the credential used to authenticate to the Azure OpenAI resource.
DisableMetricsget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
EnableSensitiveTelemetryDataget; setbool Gets or sets a boolean value indicating whether potentially sensitive information should be included in telemetry.
Endpointget; setUri? Gets or sets a
Uri referencing the Azure OpenAI endpoint. This is likely to be similar to "https://{account_name}.openai.azure.com". Keyget; setstring? Gets or sets the key to use to authenticate to the Azure OpenAI endpoint.