Skip to content
Docs Try Aspire

AspireChatCompletionsClientBuilder Properties

Class Properties 5 members
Provides a builder for configuring and integrating an Aspire Chat Completions client into a host application.
DeploymentName Section titled DeploymentName nullable string?
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; }
EnableSensitiveTelemetryData Section titled EnableSensitiveTelemetryData bool
Gets a flag indicating whether potentially sensitive information should be included in telemetry.
public bool EnableSensitiveTelemetryData { get; }
HostBuilder Section titled HostBuilder IHostApplicationBuilder
Gets the Hosting.IHostApplicationBuilder with which services are being registered.
public IHostApplicationBuilder HostBuilder { get; }
ServiceKey Section titled ServiceKey nullable string?
Gets the service key used to register the Inference.ChatCompletionsClient service, if any.
public string? ServiceKey { get; }