bRAG-langchain provides notebooks and guidance to build RAG applications, including multi-querying, routing, and advanced retrieval techniques. It includes environment setup, vector stores, and multiple notebooks for end-to-end workflows.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Retrieval-Augmented Generation (RAG) Project focused on building and experimenting with RAG pipelines across basic setup to advanced retrieval, routing, and multi-representation indexing. The repository hosts notebooks demonstrating end-to-end RAG workflows and related components such as vector stores, multi-querying, and structured prompting.
How it works
The project presents a sequence of notebooks that cover:
- Environment setup, library installation, and API configurations
- Embedding generation and vector store setup (ChromaDB/Pinecone)
- A basic RAG pipeline to serve as a baseline
- Multi-querying to diversify retrieval and improve relevance
- Routing (logical and semantic) to direct queries to appropriate data sources
- Structured search prompting and integration with vector stores
- Multi-vector indexing, in-memory storage for summaries, and retrieval models like ColBERT
- Re-ranking and advanced retrieval methods (e.g., RAPTOR, CRAG, Self-RAG) with examples
Getting started
Prerequisites emphasize Python 3.11.11. The installation flow:
- Clone the repository and enter it
- Create a Python 3.11.11 virtual environment:
python3.11 -m venv venv - Activate the environment (macOS/Linux) or (Windows)
- macOS/Linux:
source venv/bin/activate - Windows:
venv\Scripts\activate
- macOS/Linux:
- Install dependencies:
pip install -r requirements.txt - Run notebooks in sequence starting with
[1]_rag_setup_overview.ipynb
Environment variables setup:
- Duplicate
.env.exampleto.envand populate keys for OPENAI_API_KEY, LANGCHAIN_TRACING_V2, LANGCHAIN_ENDPOINT, LANGCHAIN_API_KEY, LANGCHAIN_PROJECT, PINECONE_INDEX_NAME, PINECONE_API_HOST, PINECONE_API_KEY, COHERE_API_KEY
Recent releases
- Release entries: none
Traction
- Stars: 4149
Behind the repo
- Hosted by bragai under the bragai/bRAG-langchain project; no startup/company details provided in the repo metadata
Caveats
- License: none listed
- Last push: 2026-08-03
- Language: Jupyter Notebook
- Created: 2024-11-16






