ravendb
Version:
RavenDB client for Node.js
28 lines • 1.71 kB
TypeScript
import { OpenAiBaseSettings } from "./OpenAiBaseSettings.js";
import { AbstractAiSettings } from "./AbstractAiSettings.js";
import { AiSettingsCompareDifferences } from "../AiSettingsCompareDifferences.js";
/**
* The configuration for the OpenAI API client.
*/
export declare class OpenAiSettings extends OpenAiBaseSettings {
/**
* The value to use for the OpenAI-Organization request header. Users who belong to multiple organizations
* can set this value to specify which organization is used for an API request. Usage from these API requests will
* count against the specified organization's quota. If not set, the header will be omitted, and the default
* organization will be billed. You can change your default organization in your user settings.
* Learn more: https://platform.openai.com/docs/guides/production-best-practices/setting-up-your-organization
*/
organizationId?: string;
/**
* The value to use for the OpenAI-Project request header. Users who are accessing their projects through
* their legacy user API key can set this value to specify which project is used for an API request. Usage from
* these API requests will count as usage for the specified project. If not set, the header will be omitted, and
* the default project will be accessed.
*/
projectId?: string;
private static readonly OPENAI_BASE_URI;
constructor(apiKey: string, endpoint: string, model: string, organizationId?: string, projectId?: string, dimensions?: number, temperature?: number);
getBaseEndpointUri(): string;
compare(other: AbstractAiSettings): AiSettingsCompareDifferences;
}
//# sourceMappingURL=OpenAiSettings.d.ts.map