AIProjectClient class
gets the OpenAI client
Properties
| agents | The operation groups for agents |
| 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 |
| evaluation |
The operation groups for evaluationTaxonomies |
| evaluators | The operation groups for evaluators |
| indexes | The operation groups for indexes |
| insights | The operation groups for insights |
| memory |
The operation groups for memoryStores |
| red |
The operation groups for redTeams |
| schedules | The operation groups for schedules |
| telemetry | The operation groups for telemetry |
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
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
evaluationTaxonomies
The operation groups for evaluationTaxonomies
evaluationTaxonomies: EvaluationTaxonomiesOperations
Property Value
evaluators
The operation groups for evaluators
evaluators: EvaluatorsOperations
Property Value
indexes
insights
memoryStores
The operation groups for memoryStores
memoryStores: MemoryStoresOperations
Property Value
redTeams
schedules
The operation groups for schedules
schedules: SchedulesOperations
Property Value
telemetry
The operation groups for telemetry
telemetry: TelemetryOperations
Property Value
Method Details
getOpenAIClient()
gets the OpenAI client
function getOpenAIClient(): Promise<OpenAI>
Returns
Promise<OpenAI>
the OpenAI client