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 |
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 Rules
- Evaluation Taxonomies
- Insights
- Schedules
- Red Teams
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
Method Details
getOpenAIClient(ClientOptions)
gets the OpenAI client
function getOpenAIClient(opts?: ClientOptions): OpenAI
Parameters
- opts
-
ClientOptions
Returns
OpenAI
the OpenAI client