feat: add semantic fact search and embeddings

This commit is contained in:
2026-05-11 12:05:47 +09:00
parent 428f5021e8
commit 810f4a6bf2
10 changed files with 529 additions and 4 deletions

View File

@@ -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;
}