ravendb
Version:
RavenDB client for Node.js
23 lines • 823 B
TypeScript
import { AbstractAiSettings } from "./AbstractAiSettings.js";
import { AiSettingsCompareDifferences } from "../AiSettingsCompareDifferences.js";
/**
* Settings for HuggingFace service.
*/
export declare class HuggingFaceSettings extends AbstractAiSettings {
/**
* The name of the Hugging Face model.
*/
model: string;
/**
* The endpoint for the text embedding generation service. If not specified, the default endpoint will be used.
*/
endpoint?: string;
/**
* The API key required for accessing the Hugging Face service.
*/
apiKey: string;
constructor(apiKey: string, model: string, endpoint?: string);
validate(errors: string[]): void;
compare(other: AbstractAiSettings): AiSettingsCompareDifferences;
}
//# sourceMappingURL=HuggingFaceSettings.d.ts.map