AIProjectClient class
The operation groups for telemetry
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
| from |
Creates a new instance of AzureAIProjectClient |
| get |
Gets the Azure OpenAI client for the project. |
| get |
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
- options
- AIProjectClientOptionalParams
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
deployments
The operation groups for deployments
deployments: DeploymentsOperations
Property Value
indexes
pipeline
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
- options
- GetAzureOpenAIClientOptions
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