mongodb-rag-core
Version:
Common elements used by MongoDB Chatbot Framework components.
16 lines • 759 B
TypeScript
import { EmbeddedContentStore } from "../contentStore";
import { Embedder } from "../embed";
import { FindContentFunc } from "./FindContentFunc";
import { SearchBooster } from "./SearchBooster";
import { FindNearestNeighborsOptions } from "../VectorStore";
export type MakeDefaultFindContentFuncArgs = {
embedder: Embedder;
store: EmbeddedContentStore;
findNearestNeighborsOptions?: Partial<FindNearestNeighborsOptions>;
searchBoosters?: SearchBooster[];
};
/**
Basic implementation of FindContentFunc with search boosters.
*/
export declare const makeDefaultFindContent: ({ embedder, store, findNearestNeighborsOptions, searchBoosters, }: MakeDefaultFindContentFuncArgs) => FindContentFunc;
//# sourceMappingURL=DefaultFindContent.d.ts.map