How harsh-singh-2023/rag_pipeline_for_pdf works
This is a notebook-based PDF RAG chatbot. Users add PDFs, ingest and index their contents, then ask questions in an interactive chat; answers are grounded in retrieved passages and include source citations. The graph follows the README’s documented pipeline and capabilities. The notebook is listed in the tree but its contents were not sampled, so implementation-level relationships are supported by the README rather than inspected notebook code.
Main entry points: rag_pipeline.ipynb Context retrieval · .gitkeep PDF files
Components 11
Document ingestion
- PDF loader
rag_pipeline.ipynb - Text chunker
rag_pipeline.ipynb
Vector indexing
- Local embeddings
rag_pipeline.ipynb - Chroma vector store
rag_pipeline.ipynb
Question answering
- RAG chat notebook
rag_pipeline.ipynb - Context retrieval
rag_pipeline.ipynb - Grounded prompt
rag_pipeline.ipynb - Grounded answer
rag_pipeline.ipynb
Other components
- User
- PDF files
data/pdf/.gitkeep - Groq LLM API
Connections 14
- User → RAG chat notebook: asks questions
README.md - PDF files → PDF loader: loads pages
README.md - PDF loader → Text chunker: splits pages
README.md - Text chunker → Local embeddings: embeds chunks
README.md - Local embeddings → Chroma vector store: upserts vectors
README.md - RAG chat notebook → Local embeddings: embeds query
README.md - RAG chat notebook → Context retrieval: retrieves context
README.md - Context retrieval → Chroma vector store: searches vectors
README.md - Chroma vector store → Context retrieval: returns matches
README.md - Context retrieval → Grounded prompt: supplies context
README.md - Grounded prompt → Groq LLM API: requests answer
README.md - Groq LLM API → Grounded answer: generates response
README.md - Context retrieval → Grounded answer: provides citations
README.md - Grounded answer → User: shows response
README.md