Spaces:
Sleeping

asd / src /libs /shared /infrastructure /postgres /repositories /IPgEmbeddingRepository.ts
GitHub Actions
deploy: clean snapshot
7f81110
Raw History Blame Contribute Delete
312 Bytes
import { Embedding, NewEmbedding } from "../schema/embeddings";
export interface IPgEmbeddingRepository {
upsert(input: NewEmbedding): Promise<void>;
findByDocAndChunk(storeId: string, documentId: string, chunkId: string): Promise<Embedding | null>;
deleteByStore(storeId: string): Promise<void>;
}