# AspireEmbeddingsClientBuilder

- 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/AspireEmbeddingsClientBuilder.cs)

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

## Definition

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

public class AspireEmbeddingsClientBuilder
{
    // ...
}
```

## Remarks

This class is used to configure the necessary parameters for creating an Aspire Embeddings client, such as the host application builder, service key, and optional model ID. It is intended for internal use within the application setup process.

## Constructors

- [AspireEmbeddingsClientBuilder(IHostApplicationBuilder, string?, string?, bool, bool)](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/constructors.md#constructor-ihostapplicationbuilder-string-string-bool-bool) -- Provides a builder for configuring and integrating an Aspire Embeddings client into a host application.

## Properties

- [DeploymentName](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/properties.md#deploymentname) : `string?` `get` -- Gets the name of the deployment in Azure AI Foundry.
- [DisableTracing](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/properties.md#disabletracing) : `bool` `get` -- Gets a flag indicating whether tracing should be disabled.
- [EnableSensitiveTelemetryData](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/properties.md#enablesensitivetelemetrydata) : `bool` `get` -- Gets a flag indicating whether potentially sensitive information should be included in telemetry.
- [HostBuilder](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/properties.md#hostbuilder) : `IHostApplicationBuilder` `get` -- Gets the `Hosting.IHostApplicationBuilder` with which services are being registered.
- [ServiceKey](/reference/api/csharp/aspire.azure.ai.inference/aspireembeddingsclientbuilder/properties.md#servicekey) : `string?` `get` -- Gets the service key used to register the `Inference.EmbeddingsClient` service, if any.
