Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

📚 RAG-Powered AI Study Assistant

An AI-powered document learning assistant built using Streamlit, LangChain, FAISS, and Ollama that enables users to upload PDFs and interact with documents through contextual chat, semantic retrieval, automated summaries, MCQ generation, and flashcards.


🚀 Features

  • 📄 Chat with PDF using RAG
  • 🔍 Semantic document retrieval
  • 🧠 AI-generated summaries
  • ❓ MCQ generation
  • 📌 Flashcard generation
  • 📚 Context-aware question answering
  • 🗂 Vector embeddings with FAISS
  • 🖥 Local LLM inference using Ollama
  • ⚡ Interactive Streamlit interface

🛠 Tech Stack

  • Python
  • Streamlit
  • LangChain
  • FAISS
  • Ollama
  • Llama 3
  • PyPDF2

🧩 Architecture

PDF Upload → Text Extraction → Chunking → Embeddings → FAISS Vector Store → Retriever → LLM → Response Generation


⚙️ Installation

Clone Repository

git clone <your-repo-link>
cd <repo-name>

Install Dependencies

pip install -r requirements.txt

Install Ollama

Download Ollama:

https://ollama.com/download

Pull Required Models:

ollama pull llama3
ollama pull nomic-embed-text

Run Application

streamlit run app.py

🔮 Future Improvements

  • PDF export
  • Multi-document RAG
  • Citation-aware responses
  • Study modes
  • Voice interaction
  • Authentication system

👨‍💻 Author

Nitesh Verma

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages