Share via


AIProjectClient Class

Definition

The AzureAI service client.

public class AIProjectClient : System.ClientModel.Primitives.ClientConnectionProvider
type AIProjectClient = class
    inherit ClientConnectionProvider
Public Class AIProjectClient
Inherits ClientConnectionProvider
Inheritance

Constructors

AIProjectClient()

Initializes a new instance of AIProjectClient for mocking.

AIProjectClient(Uri, TokenCredential, AIProjectClientOptions)

Initializes a new instance of AIProjectClient.

AIProjectClient(Uri, TokenCredential)

Initializes a new instance of AzureAIClient.

Properties

Connections

Gets the client for managing connections.

Datasets

Gets the client for managing datasets.

Deployments

Gets the client for managing deployments.

Evaluations

Gets the client for evaluations operations.

Indexes

Gets the client for managing indexes.

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Telemetry

Gets the client for telemetry operations.

Methods

GetAllConnections()

Retrieves all connection options.

GetAzureOpenAIChatClient(String, String, String)

Gets the OpenAI chat client.

GetAzureOpenAIEmbeddingClient(String, String, String)

Gets the OpenAI embedding client.

GetConnection(String)

Retrieves the connection options for a specified client type and instance ID.

Extension Methods

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.

GetSearchClient(ClientConnectionProvider, String)

Gets the search client.

GetSearchIndexClient(ClientConnectionProvider)

Gets the search client.

GetSearchIndexerClient(ClientConnectionProvider)

Gets the search client.

Applies to