feat: add semantic fact search and embeddings
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import type { AddFactInput, TopicLinkInput } from '../types/api';
|
||||
import type {
|
||||
AddFactInput,
|
||||
EmbeddingProvider,
|
||||
TopicLinkInput,
|
||||
} from '../types/api';
|
||||
|
||||
export interface ExtractedFact {
|
||||
statement?: string;
|
||||
@@ -15,4 +19,6 @@ export interface FactExtractor {
|
||||
|
||||
export interface IngestStatementOptions {
|
||||
extractor: FactExtractor;
|
||||
embeddingProvider?: EmbeddingProvider;
|
||||
duplicateThreshold?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user