AspireAzureOpenAIClientBuilder Class    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A builder for configuring an AzureOpenAIClient service registration. Constructs a new instance of AspireAzureOpenAIClientBuilder.
public class AspireAzureOpenAIClientBuilder : Aspire.OpenAI.AspireOpenAIClientBuildertype AspireAzureOpenAIClientBuilder = class
    inherit AspireOpenAIClientBuilderPublic Class AspireAzureOpenAIClientBuilder
Inherits AspireOpenAIClientBuilder- Inheritance
Constructors
| AspireAzureOpenAIClientBuilder(IHostApplicationBuilder, String, String, Boolean, Boolean) | A builder for configuring an AzureOpenAIClient service registration. Constructs a new instance of AspireAzureOpenAIClientBuilder. | 
Properties
| ConfigurationSectionName | Gets the name of the configuration section for this component type. | 
| ConnectionName | Gets the name used to retrieve the connection string from the ConnectionStrings configuration section.(Inherited from AspireOpenAIClientBuilder) | 
| DisableTracing | Gets a flag indicating whether tracing should be disabled.(Inherited from AspireOpenAIClientBuilder) | 
| EnableSensitiveTelemetryData | Gets a flag indicating whether potentially sensitive information should be included in telemetry.(Inherited from AspireOpenAIClientBuilder) | 
| HostBuilder | Gets the IHostApplicationBuilder with which services are being registered.(Inherited from AspireOpenAIClientBuilder) | 
| ServiceKey | Gets the service key used to register the OpenAI.OpenAIClient service, if any.(Inherited from AspireOpenAIClientBuilder) | 
Extension Methods
| AddChatClient(AspireOpenAIClientBuilder, String) | Registers a singleton IChatClient in the services provided by the  | 
| AddKeyedChatClient(AspireOpenAIClientBuilder, String, String) | Registers a keyed singleton IChatClient in the services provided by the  | 
| AddEmbeddingGenerator(AspireOpenAIClientBuilder, String) | Registers a singleton IEmbeddingGenerator<TInput,TEmbedding> in the services provided by the  | 
| AddKeyedEmbeddingGenerator(AspireOpenAIClientBuilder, String, String) | Registers a keyed singleton IEmbeddingGenerator<TInput,TEmbedding> in the services provided by the  |