Share via


ClientConnectionProvider Class

Definition

Abstract base class for managing client connections. Provides connection options for a specified client type and instance ID.

public abstract class ClientConnectionProvider
type ClientConnectionProvider = class
Public MustInherit Class ClientConnectionProvider
Inheritance
ClientConnectionProvider
Derived

Constructors

Name Description
ClientConnectionProvider(Int32)

Initializes a new instance of the ConnectionProvider class.

Methods

Name Description
GetAllConnections()

Retrieves all available client connections managed by this provider.

GetConnection(String)

Retrieves the connection settings associated with a given connection ID.

Extension Methods

Name Description
GetPersistentAgentsClient(ClientConnectionProvider)

Gets the agents client.

GetChatCompletionsClient(ClientConnectionProvider)

Gets the chat completion client.

GetEmbeddingsClient(ClientConnectionProvider)

Gets the embeddings client.

GetAzureOpenAIChatClient(ClientConnectionProvider, String)

Gets the OpenAI chat client.

GetAzureOpenAIEmbeddingClient(ClientConnectionProvider, String)

Gets the OpenAI embedding client.

GetProjectOpenAIClient(ClientConnectionProvider, ProjectOpenAIClientOptions)
GetSearchClient(ClientConnectionProvider, String)

Gets the search client.

GetSearchIndexClient(ClientConnectionProvider)

Gets the search client.

GetSearchIndexerClient(ClientConnectionProvider)

Gets the search client.

Applies to