Share via


AIInferenceClientBuilderExtensions Class

Definition

Extension methods to add ChatCompletionsClient, EmbeddingsClient to client builder.

public static class AIInferenceClientBuilderExtensions
type AIInferenceClientBuilderExtensions = class
Public Module AIInferenceClientBuilderExtensions
Inheritance
AIInferenceClientBuilderExtensions

Methods

AddChatCompletionsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a ChatCompletionsClient instance.

AddChatCompletionsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a ChatCompletionsClient instance.

AddChatCompletionsClient<TBuilder>(TBuilder, Uri)

Registers a ChatCompletionsClient instance.

AddEmbeddingsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a EmbeddingsClient instance.

AddEmbeddingsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a EmbeddingsClient instance.

AddEmbeddingsClient<TBuilder>(TBuilder, Uri)

Registers a EmbeddingsClient instance.

Applies to