mongodb-rag-core
Version:
Common elements used by MongoDB Chatbot Framework components.
11 lines • 413 B
TypeScript
import { EmbeddedContent } from "../contentStore/EmbeddedContent";
import { WithScore } from "../VectorStore";
export type FindContentFuncArgs = {
query: string;
};
export type FindContentFunc = (args: FindContentFuncArgs) => Promise<FindContentResult>;
export type FindContentResult = {
queryEmbedding: number[];
content: WithScore<EmbeddedContent>[];
};
//# sourceMappingURL=FindContentFunc.d.ts.map