ravendb
Version:
RavenDB client for Node.js
35 lines • 1.13 kB
TypeScript
import { AbstractAiSettings } from "./AbstractAiSettings.js";
import { AiSettingsCompareDifferences } from "../AiSettingsCompareDifferences.js";
/**
* Represents the version of the Vertex AI API.
*/
export type VertexAIVersion = "V1" | "V1_Beta";
/**
* Settings for Google Vertex AI service.
*/
export declare class VertexSettings extends AbstractAiSettings {
/**
* The model ID for the Vertex AI service.
*/
model: string;
/**
* The Google Cloud service account credentials in JSON format.
*/
googleCredentialsJson: string;
/**
* The version of Vertex AI to use.
*/
aiVersion?: VertexAIVersion;
/**
* The Google Cloud region/location for the Vertex AI service.
*/
location: string;
constructor(model: string, googleCredentialsJson: string, location: string, aiVersion?: VertexAIVersion);
/**
* Extracts the project ID from the Google credentials JSON.
*/
getProjectId(): string;
validate(errors: string[]): void;
compare(other: AbstractAiSettings): AiSettingsCompareDifferences;
}
//# sourceMappingURL=VertexSettings.d.ts.map