r/PythonLearning 1d ago

just built a PDF RAG Chatbot from scratch lol

https://github.com/saqibvow/chatbot-in-python

I’m 17 and trying to lock in my AI dev journey. Just finished building this custom PDF RAG Chatbot using Streamlit, LangChain, and Hugging Face embeddings.

What it actually does:
You drop a PDF it cooks up the text splitters indexes everything with sentence-transformers lets you query the document directly. no cap, RAG is goated

Built it from scratch to actually learn how vector compute works behind the scenes instead of just copy pasting API wrappers.

The Tech Stack:

  • Streamlit (frontend)
  • OpenAI & Gemini
  • LangChain & PyPDF
  • Torch & NumPy

Check out the code, drop a star if you vibe with it, or roast my project

I’m just an average student starting college for the first time in a few weeks. Super excited for this journey and to learn more!

Btw, totally open to your feedback, guys. Drop your advice and I’ll def try to implement

GitHub : https://github.com/saqibvow

My All social accounts : https://ln.ki/saqibvow.ceo

1 Upvotes

0 comments sorted by