Share via


AIProjectClient class

The operation groups for telemetry

Constructors

AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)

Properties

agents

Get the AgentsClient associated with this AIProjectClient.

connections

The operation groups for connections

datasets

The operation groups for datasets

deployments

The operation groups for deployments

indexes

The operation groups for indexes

pipeline

The pipeline used by this client to make requests

telemetry

The operation groups for telemetry

Methods

fromEndpoint(string, TokenCredential, AIProjectClientOptionalParams)

Creates a new instance of AzureAIProjectClient

getAzureOpenAIClient(GetAzureOpenAIClientOptions)

Gets the Azure OpenAI client for the project.

getEndpointUrl()

gets the endpoint of the client

Constructor Details

AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)

new AIProjectClient(endpointParam: string, credential: TokenCredential, options?: AIProjectClientOptionalParams)

Parameters

endpointParam

string

credential
TokenCredential

Property Details

agents

Get the AgentsClient associated with this AIProjectClient.

AgentsClient agents

Property Value

The AgentsClient associated with this AIProjectClient

connections

The operation groups for connections

connections: ConnectionsOperations

Property Value

datasets

The operation groups for datasets

datasets: DatasetsOperations

Property Value

deployments

The operation groups for deployments

deployments: DeploymentsOperations

Property Value

indexes

The operation groups for indexes

indexes: IndexesOperations

Property Value

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

telemetry

The operation groups for telemetry

telemetry: TelemetryOperations

Property Value

Method Details

fromEndpoint(string, TokenCredential, AIProjectClientOptionalParams)

Creates a new instance of AzureAIProjectClient

static function fromEndpoint(endpoint: string, credential: TokenCredential, options?: AIProjectClientOptionalParams): AIProjectClient

Parameters

endpoint

string

The endpoint to use

credential
TokenCredential

The credential to use

options
AIProjectClientOptionalParams

The parameter for all optional parameters

Returns

getAzureOpenAIClient(GetAzureOpenAIClientOptions)

Gets the Azure OpenAI client for the project.

function getAzureOpenAIClient(options?: GetAzureOpenAIClientOptions): Promise<AzureOpenAI>

Parameters

Returns

Promise<AzureOpenAI>

The Azure OpenAI client for the project.

getEndpointUrl()

gets the endpoint of the client

function getEndpointUrl(): string

Returns

string

the endpoint of the client