AIProjectClient class
gets the OpenAI client with optional OpenAI client options
Properties
| agents | The operation groups for agents |
| beta | The operation groups for beta include beta features:
|
| connections | The operation groups for connections |
| datasets | The operation groups for datasets |
| deployments | The operation groups for deployments |
| endpoint | gets the endpoint of the client |
| evaluation |
The operation groups for evaluationRules |
| indexes | The operation groups for indexes |
| telemetry | The operation groups for telemetry |
| toolboxes | The operation groups for toolboxes |
Methods
| get |
gets the OpenAI client |
Constructor Details
AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)
new AIProjectClient(endpoint: string, credential: TokenCredential, options?: AIProjectClientOptionalParams)
Parameters
- endpoint
-
string
- credential
- TokenCredential
- options
- AIProjectClientOptionalParams
Property Details
agents
beta
The operation groups for beta include beta features:
- Memory Stores
- Evaluators
- Evaluation Taxonomies
- Insights
- Schedules
- Red Teams
- agents
- skills
- routines
- models
beta: BetaOperations
Property Value
connections
The operation groups for connections
connections: ConnectionsOperations
Property Value
datasets
deployments
The operation groups for deployments
deployments: DeploymentsOperations
Property Value
endpoint
gets the endpoint of the client
string endpoint
Property Value
string
the endpoint of the client
evaluationRules
The operation groups for evaluationRules
evaluationRules: EvaluationRulesOperations
Property Value
indexes
telemetry
The operation groups for telemetry
telemetry: TelemetryOperations
Property Value
toolboxes
The operation groups for toolboxes
toolboxes: ToolboxesOperations
Property Value
Method Details
getOpenAIClient(OpenAIClientOptionsWithAzureAgent)
gets the OpenAI client
function getOpenAIClient(optsWithAzureAgent?: OpenAIClientOptionsWithAzureAgent): OpenAI
Parameters
- optsWithAzureAgent
- OpenAIClientOptionsWithAzureAgent
Returns
OpenAI
the OpenAI client