{"repo":"mongodb-developer/mongodb-rag","free":true,"listed":false,"github":"https://github.com/mongodb-developer/mongodb-rag","clone":"git clone https://github.com/mongodb-developer/mongodb-rag.git","description":"A Powerful Retrieval Augmented Generation Tool for MongoDB Vector Search","language":"JavaScript","stars":16,"topics":["ai","cli","javascript","mongodb","retrieval-augmented-generation"],"license":"MIT","category":"ai-agents","readme_excerpt":"--- MongoDB-RAG Overview MongoDB-RAG (Retrieval Augmented Generation) is an NPM module that simplifies vector search using MongoDB Atlas. This library enables developers to efficiently perform similarity search, caching, batch processing, and indexing for fast and accurate retrieval of relevant data. 🚀 Features - Vector Search : Efficiently retrieves similar documents using MongoDB's Atlas Vector Search. - Dynamic Database & Collection Selection : Supports flexible selection of multiple databases and collections. - Batch Processing : Handles bulk processing of documents with retry mechanisms. - Index Management : Ensures necessary indexes are available and optimized. - Caching Mechanism : Provides in-memory caching for frequently accessed data. - Advanced Chunking : Supports sliding window , semantic , and recursive chunking strategies. - CLI for Scaffolding RAG Apps --- 🚀 Getting Started 1️⃣ Install the Package 2️⃣ Set Up MongoDB Atlas 1. Initialize Your App using the CLI: This will guide you through setting up your MongoDB connection and save the configuration to .mongodb-rag.json . Make sure to add .mongodb-rag.json to your .gitignore file to keep your credentials secure. 2. Create a MongoDB Atlas Cluster (MongoDB Atlas) 3. Enable Vector Search under Indexes: or, use the CLI to create the index: 4. Create a .env File using: This command reads the .mongodb-rag.json file and generates a .env file with the necessary environment variables. 3️⃣ Quick Start with CLI You can ge","default_branch":null,"files":null,"tree":[],"storefront":"/r/mongodb-developer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mongodb-developer/mongodb-rag/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}