Share via


AIProjectClient class

gets the OpenAI client with optional OpenAI client options

Constructors

AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)

Properties

agents

The operation groups for agents

beta

The operation groups for beta include beta features:

  • Memory Stores
  • Evaluators
  • Evaluation Rules
  • Evaluation Taxonomies
  • Insights
  • Schedules
  • Red Teams
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

evaluationRules

The operation groups for evaluationRules

indexes

The operation groups for indexes

telemetry

The operation groups for telemetry

Methods

getOpenAIClient(ClientOptions)

gets the OpenAI client

Constructor Details

AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)

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

Parameters

endpoint

string

credential
TokenCredential

Property Details

agents

The operation groups for agents

agents: AgentsOperations

Property Value

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

The operation groups for datasets

datasets: DatasetsOperations

Property Value

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

The operation groups for indexes

indexes: IndexesOperations

Property Value

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