closevector-web
Version:
CloseVector is fundamentally a vector database. We have made dedicated libraries available for both browsers and node.js, aiming for easy integration no matter your platform. One feature we've been working on is its potential for scalability. Instead of b
11 lines (10 loc) • 389 B
TypeScript
import { CloseVectorEmbeddings } from "closevector-common";
export declare class CloseVectorFreeEmbeddings implements CloseVectorEmbeddings {
key: string;
constructor(fields: {
key: string;
});
embeddingWithRetry(textList: string[]): Promise<any>;
embedDocuments(documents: string[]): Promise<number[][]>;
embedQuery(document: string): Promise<number[]>;
}