AspireChatCompletionsClientBuilder
Classnet10.0
Provides a builder for configuring and integrating an Aspire Chat Completions client into a host application.
namespace Aspire.Azure.AI.Inference;
public class AspireChatCompletionsClientBuilder{ // ...}6 members
Remarks
Section titled RemarksThis class is used to configure the necessary parameters for creating an Aspire Chat Completions client, such as the host application builder, service key, and optional model ID. It is intended for internal use within the application setup process.
Constructors1
Section titled Constructors Provides a builder for configuring and integrating an Aspire Chat Completions client into a host application.
Properties5
Section titled Propertiesbool Gets a flag indicating whether potentially sensitive information should be included in telemetry.
HostBuildergetIHostApplicationBuilder Gets the
Hosting.IHostApplicationBuilder with which services are being registered. ServiceKeygetstring? Gets the service key used to register the
Inference.ChatCompletionsClient service, if any.