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

Name Description
AIProjectClient()

Initializes a new instance of AIProjectClient for mocking.

AIProjectClient(Uri, AuthenticationTokenProvider, AIProjectClientOptions)

Initializes a new instance of AIProjectClient.

AIProjectClient(Uri, AuthenticationTokenProvider)

Initializes a new instance of AIProjectClient.

Properties

Name Description
Agents
Connections

Gets the client for managing connections.

Datasets

Gets the client for managing datasets.

Deployments

Gets the client for managing deployments.

EvaluationRules
EvaluationTaxonomies
Evaluators
Indexes

Gets the client for managing indexes.

Insights
MemoryStores
OpenAI
Pipeline

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

RedTeams
Schedules
Telemetry

Gets the client for telemetry operations.

Methods

Name Description
GetAllConnections()

Retrieves all available client connections managed by this provider.

(Inherited from ClientConnectionProvider)
GetConnection(String)

Retrieves the connection settings associated with a given connection ID.

(Inherited from ClientConnectionProvider)

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