UNPKG

sentence2simvecjs

Version:

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

15 lines 538 B
import React from 'react'; interface BenchmarkInterfaceProps { onRunBenchmark: (text1: string, text2: string, options?: any) => void; onRunMultipleBenchmarks: (textPairs: Array<{ text1: string; text2: string; }>, options?: any) => void; isModelLoaded: boolean; isModelCached?: boolean; isRedownloading?: boolean; onClearCache?: () => void; } declare const BenchmarkInterface: React.FC<BenchmarkInterfaceProps>; export default BenchmarkInterface; //# sourceMappingURL=BenchmarkInterface.d.ts.map