ravendb
Version:
RavenDB client for Node.js
31 lines • 967 B
TypeScript
import { AbstractAiSettings } from "./AbstractAiSettings.js";
import { AiSettingsCompareDifferences } from "../AiSettingsCompareDifferences.js";
/**
* Represents the version of the Google AI API.
*/
export type GoogleAIVersion = "V1" | "V1_Beta";
/**
* Settings for Google AI service.
*/
export declare class GoogleSettings extends AbstractAiSettings {
/**
* The model that should be used.
*/
model: string;
/**
* The API key to use to authenticate with the service.
*/
apiKey: string;
/**
* The version of Google AI to use.
*/
aiVersion?: GoogleAIVersion;
/**
* The number of dimensions that the model should use.
*/
dimensions?: number;
constructor(model: string, apiKey: string, aiVersion?: GoogleAIVersion, dimensions?: number);
validate(errors: string[]): void;
compare(other: AbstractAiSettings): AiSettingsCompareDifferences;
}
//# sourceMappingURL=GoogleSettings.d.ts.map