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
GetAzureOpenAIChatClient(ClientConnectionProvider, String)

Gets the OpenAI chat client.

GetAzureOpenAIEmbeddingClient(ClientConnectionProvider, String)

Gets the OpenAI embedding client.

GetChatCompletionsClient(ClientConnectionProvider)

Gets the chat completion client.

GetEmbeddingsClient(ClientConnectionProvider)

Gets the embeddings client.

GetPersistentAgentsClient(ClientConnectionProvider)

Gets the agents client.

GetProjectAgentsClient(ClientConnectionProvider, AgentsClientOptions)
GetProjectAgentsClient(ClientConnectionProvider, Uri, AgentAdministrationClientOptions)
GetProjectOpenAIClient(ClientConnectionProvider, ProjectOpenAIClientOptions)
GetProjectOpenAIClient(ClientConnectionProvider, ProjectOpenAIClientOptions)
GetSearchClient(ClientConnectionProvider, String)

Gets the search client.

GetSearchIndexClient(ClientConnectionProvider)

Gets the search client.

GetSearchIndexerClient(ClientConnectionProvider)

Gets the search client.

Applies to