UNPKG

mongodb-rag-core

Version:

Common elements used by MongoDB Chatbot Framework components.

14 lines 684 B
import { EmbeddedContentStore, QueryFilters } from "../contentStore"; import { Embedder } from "../embed"; import { FindContentFunc } from "./FindContentFunc"; import { FindNearestNeighborsOptions } from "../VectorStore"; export type MakeDefaultFindContentFuncArgs = { embedder: Embedder; store: EmbeddedContentStore; findNearestNeighborsOptions?: Partial<FindNearestNeighborsOptions<QueryFilters>>; }; /** Basic implementation of FindContentFunc with search boosters. */ export declare const makeDefaultFindContent: ({ embedder, store, findNearestNeighborsOptions, }: MakeDefaultFindContentFuncArgs) => FindContentFunc; //# sourceMappingURL=DefaultFindContent.d.ts.map