UNPKG

hnswsqlite

Version:

Vector search with HNSWlib and SQLite in TypeScript.

6 lines (5 loc) 193 B
import { VectorStore } from '../../vectorStore'; export declare function searchDocuments(store: VectorStore, query: number[], k: number): Promise<Array<{ id: number; text: string; }>>;