Share via


AIProjectClient class

gets the OpenAI client

Constructors

AIProjectClient(string, TokenCredential, AIProjectClientOptionalParams)

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

evaluationRules

The operation groups for evaluationRules

evaluationTaxonomies

The operation groups for evaluationTaxonomies

evaluators

The operation groups for evaluators

indexes

The operation groups for indexes

insights

The operation groups for insights

memoryStores

The operation groups for memoryStores

redTeams

The operation groups for redTeams

schedules

The operation groups for schedules

telemetry

The operation groups for telemetry

Methods

getOpenAIClient()

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

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

evaluationTaxonomies

The operation groups for evaluationTaxonomies

evaluationTaxonomies: EvaluationTaxonomiesOperations

Property Value

evaluators

The operation groups for evaluators

evaluators: EvaluatorsOperations

Property Value

indexes

The operation groups for indexes

indexes: IndexesOperations

Property Value

insights

The operation groups for insights

insights: InsightsOperations

Property Value

memoryStores

The operation groups for memoryStores

memoryStores: MemoryStoresOperations

Property Value

redTeams

The operation groups for redTeams

redTeams: RedTeamsOperations

Property Value

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