Core library for building RAG (retrieval-augmented generation) chatbots with MongoDB. v0.7.1 — active development with frequent releases. Provides shared components like configs, embedding interfaces, data sources, vector search integration, and LLM abstractions used by the MongoDB Chatbot Framework. Differentiated by deep MongoDB Atlas Vector Search integration, strict TypeScript types, and modular architecture. Designed for Node 18+ and ESM-first.
npm install mongodb-rag-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup of AppConfig, MongoDBDataSource, and DataStreamer for querying a vector store.
Update query invocations to new signature; see migration guide.
Rename all imports and usages to MongoDBDataSource.
Use import syntax and ensure 'type': 'module' in package.json or use dynamic import().
Enable skipLibCheck: false or explicitly install missing @types/* packages.
Use import syntax instead of require(). Ensure tsconfig has 'moduleResolution': 'node16' or 'bundler'.
Use correct import: import { MongoDBDataSource } from 'mongodb-rag-core'.Use named import: import { DataStreamer } from 'mongodb-rag-core'.