import OpenAI from "openai"; import type { AIProjectClientOptionalParams } from "./api/index.js"; import type { AgentsOperations } from "./classic/agents/index.js"; import type { BetaOperations } from "./classic/beta/index.js"; import type { ConnectionsOperations } from "./classic/connections/index.js"; import type { DatasetsOperations } from "./classic/datasets/index.js"; import type { DeploymentsOperations } from "./classic/deployments/index.js"; import type { EvaluationRulesOperations } from "./classic/evaluationRules/index.js"; import type { IndexesOperations } from "./classic/indexes/index.js"; import type { TelemetryOperations } from "./classic/telemetry/index.js"; import type { TokenCredential } from "@azure/core-auth"; import type { OpenAIClientOptionsWithAzureAgent } from "./azureAgent.interface.js"; export type { AIProjectClientOptionalParams } from "./api/aiProjectContext.js"; /** * The main client for the AIProjectClient service. It provides access to the various operations available in the service. * @class AIProjectClient * @extends {AIProjectContext} * @description The main client for the AIProjectClient * @constructor * @param {string} endpoint - The endpoint to use * @param {TokenCredential} credential - The credential to use * @param {AIProjectClientOptionalParams} [options] - Optional parameters for the client. * @property {DeploymentsOperations} deployments - The operation groups for deployments * @property {IndexesOperations} indexes - The operation groups for indexes * @property {DatasetsOperations} datasets - The operation groups for datasets * @property {ConnectionsOperations} connections - The operation groups for connections * @property {AgentsOperations} agents - The operation groups for agents * @property {BetaOperations} beta - The operation groups for beta include beta features: * - Memory Stores * - Evaluators * - Evaluation Taxonomies * - Insights * - Schedules * - Red Teams * - Toolboxes * - agents * - skills * @property {TelemetryOperations} telemetry - The operation groups for telemetry * @property {getEndpointUrl} getEndpointUrl - gets the endpoint of the client * @property {getOpenAIClient} getOpenAIClient - gets the OpenAI client with optional OpenAI client options */ export declare class AIProjectClient { private _cognitiveScopeClient; private _azureScopeClient; private _endpoint; private _credential; private _options; constructor(endpoint: string, credential: TokenCredential, options?: AIProjectClientOptionalParams); /** The operation groups for indexes */ readonly indexes: IndexesOperations; /** The operation groups for deployments */ readonly deployments: DeploymentsOperations; /** The operation groups for datasets */ readonly datasets: DatasetsOperations; /** The operation groups for connections */ readonly connections: ConnectionsOperations; /** The operation groups for evaluationRules */ readonly evaluationRules: EvaluationRulesOperations; /** The operation groups for agents */ readonly agents: AgentsOperations; /** The operation groups for beta include beta features: * - Memory Stores * - Evaluators * - Evaluation Taxonomies * - Insights * - Schedules * - Red Teams * - Toolboxes * - agents * - skills */ readonly beta: BetaOperations; /** The operation groups for telemetry */ readonly telemetry: TelemetryOperations; /** * gets the OpenAI client * @returns the OpenAI client */ getOpenAIClient(optsWithAzureAgent?: OpenAIClientOptionsWithAzureAgent): OpenAI; /** * gets the endpoint of the client * @returns the endpoint of the client */ get endpoint(): string; } //# sourceMappingURL=aiProjectClient.d.ts.map