Skip to content
DocsTry Aspire
DocsTry

AspireChatCompletionsClientBuilder Properties

ClassProperties5 members
Provides a builder for configuring and integrating an Aspire Chat Completions client into a host application.
DeploymentNameSection titled DeploymentNamenullablestring?
The name of the deployment in Azure AI Foundry.
public string? DeploymentName { get; }
Gets a flag indicating whether tracing should be disabled.
public bool DisableTracing { get; }
EnableSensitiveTelemetryDataSection titled EnableSensitiveTelemetryDatabool
Gets a flag indicating whether potentially sensitive information should be included in telemetry.
public bool EnableSensitiveTelemetryData { get; }
HostBuilderSection titled HostBuilderIHostApplicationBuilder
Gets the Hosting.IHostApplicationBuilder with which services are being registered.
public IHostApplicationBuilder HostBuilder { get; }
ServiceKeySection titled ServiceKeynullablestring?
Gets the service key used to register the Inference.ChatCompletionsClient service, if any.
public string? ServiceKey { get; }