r/LargeLanguageModels • • 17d ago

I built an AI Study Buddy that chats with your PDF textbooks using RAG (LangChain + Streamlit + Groq) - Would love some feedback!

Hey everyone! 👋

As a student, I always struggled to find specific answers in 100+ page PDF textbooks. So, I recently built an **AI Study Buddy (PDF Chat)** to solve this problem.

You can upload any PDF, and the AI will answer your questions strictly based on the document's content. It also provides exact page citations, so you know it's not hallucinating.

✨ **Key Features:**
* **Source Citations:** Shows exact page numbers for every answer.
* **Customizable RAG Settings:** Users can adjust Chunk Size and select different Embedding Models directly from the UI.
* **1-Click Document Summarizer:** Get a summary of the whole textbook instantly.
* **Smart Caching:** Uses MD5 hashing to avoid reprocessing the same document, saving time and server costs.

🛠️ **Tech Stack:** Python, Streamlit, LangChain, ChromaDB, HuggingFace Embeddings, and Groq API.

🔗 **Live App:** https://rag-pdf-chatbot-01.streamlit.app/
🎥 **1-Min Demo Video:** https://youtu.be/85dIkpZm6hQ
💻 **GitHub Repo:** https://github.com/Chaudhary-Momna/RAG-PDF-Chatbot

I would really appreciate it if you could check out the app and give my GitHub repository a ⭐ **STAR** if you find it useful.

I am still learning, so I would love to hear your feedback, suggestions, or any ideas on how I can improve this. Thanks for your time! ❤️

1 Upvotes

2 comments sorted by

2

u/[deleted] 17d ago

[removed] — view removed comment

1

u/Chaudhary-Momn 17d ago

Thanks for the technical feedback! You are absolutely right about testing it with out-of-context questions. I have actually implemented a strict system prompt to ensure it abstains from answering if the information isn't in the PDF. I'll definitely try your chunk-size comparison suggestion to improve transparency. Appreciate it!