# AspireChatCompletionsClientBuilder Properties

- Package: [Aspire.Azure.AI.Inference](/reference/api/csharp/aspire.azure.ai.inference.md)
- Type: [AspireChatCompletionsClientBuilder](/reference/api/csharp/aspire.azure.ai.inference/aspirechatcompletionsclientbuilder.md)
- Kind: `Properties`
- Members: `5`

Provides a builder for configuring and integrating an Aspire Chat Completions client into a host application.

## DeploymentName

- Name: `DeploymentName`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/AspireChatCompletionsClientBuilder.cs#L50)

The name of the deployment in Azure AI Foundry.

```csharp
public string? DeploymentName { get; }
```

## DisableTracing

- Name: `DisableTracing`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/AspireChatCompletionsClientBuilder.cs#L30)

Gets a flag indicating whether tracing should be disabled.

```csharp
public bool DisableTracing { get; }
```

## EnableSensitiveTelemetryData

- Name: `EnableSensitiveTelemetryData`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/AspireChatCompletionsClientBuilder.cs#L35)

Gets a flag indicating whether potentially sensitive information should be included in telemetry.

```csharp
public bool EnableSensitiveTelemetryData { get; }
```

## HostBuilder

- Name: `HostBuilder`
- Modifiers: `get`
- Returns: `IHostApplicationBuilder`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/AspireChatCompletionsClientBuilder.cs#L40)

Gets the `Hosting.IHostApplicationBuilder` with which services are being registered.

```csharp
public IHostApplicationBuilder HostBuilder { get; }
```

## ServiceKey

- Name: `ServiceKey`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Components/Aspire.Azure.AI.Inference/AspireChatCompletionsClientBuilder.cs#L45)

Gets the service key used to register the `Inference.ChatCompletionsClient` service, if any.

```csharp
public string? ServiceKey { get; }
```
