UNPKG

sentence2simvecjs

Version:

Vector-based sentence similarity (0.0-1.0) + embedding export. JavaScript implementation inspired by PINTO0309/sentence2simvec

11 lines 435 B
import { StorageAdapter } from './storageInterface'; export declare class FileStorageAdapter implements StorageAdapter { private baseDir; constructor(baseDir?: string); setItem(key: string, value: string): Promise<void>; getItem(key: string): Promise<string | null>; removeItem(key: string): Promise<void>; clear(): Promise<void>; getAllKeys(): Promise<string[]>; } //# sourceMappingURL=fileStorage.d.ts.map