# ChatCompletionsClientSettings

- Kind: `class`
- Package: [Aspire.Azure.AI.Inference](/reference/api/csharp/aspire.azure.ai.inference.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Azure.AI.Inference`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/ChatCompletionsClientSettings.cs)
- Implements: `IConnectionStringSettings`

Represents configuration settings for Azure AI Chat Completions client.

## Definition

```csharp
namespace Aspire.Azure.AI.Inference;

public sealed class ChatCompletionsClientSettings
    : Aspire.Azure.Common.IConnectionStringSettings
{
    // ...
}
```

## Constructors

- [ChatCompletionsClientSettings](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/constructors.md#constructor)

## Properties

- [ConnectionString](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string used to connect to the AI Foundry account.
- [DeploymentName](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#deploymentname) : `string?` `get; set` -- Gets or sets the name of the AI model deployment to use for chat completions.
- [DisableMetrics](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#disablemetrics) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.
- [DisableTracing](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
- [EnableSensitiveTelemetryData](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#enablesensitivetelemetrydata) : `bool` `get; set` -- Gets or sets a boolean value indicating whether potentially sensitive information should be included in telemetry.
- [Endpoint](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#endpoint) : `Uri?` `get; set` -- Gets or sets the endpoint URI for the Azure AI service.
- [Key](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#key) : `string?` `get; set` -- Gets or sets the API key used for authentication with the Azure AI service.
- [TokenCredential](/reference/api/csharp/aspire.azure.ai.inference/chatcompletionsclientsettings/properties.md#tokencredential) : `TokenCredential?` `get; set` -- Gets or sets the token credential used for Azure authentication.
