UNPKG

hnswsqlite

Version:

Vector search with HNSWlib and SQLite in TypeScript.

10 lines (8 loc) 288 B
import { EmbeddingPlugin } from './types'; export class WebLLMPlugin implements EmbeddingPlugin { name = 'webllm'; async generateEmbedding(input: string): Promise<number[]> { // TODO: Implement using webllm API throw new Error('WebLLM embedding not implemented yet.'); } }