@llumiverse/drivers
Version:
LLM driver implementations. Currently supported are: openai, huggingface, bedrock, replicate.
10 lines • 493 B
TypeScript
import { EmbeddingsResult } from '@llumiverse/core';
import { VertexAIDriver } from '../index.js';
export interface TextEmbeddingsOptions {
model?: string;
task_type?: "RETRIEVAL_QUERY" | "RETRIEVAL_DOCUMENT" | "SEMANTIC_SIMILARITY" | "CLASSIFICATION" | "CLUSTERING";
title?: string;
content: string;
}
export declare function getEmbeddingsForText(driver: VertexAIDriver, options: TextEmbeddingsOptions): Promise<EmbeddingsResult>;
//# sourceMappingURL=embeddings-text.d.ts.map