Skip to content

πŸ“„ QuestRAG: AI-powered PDF Question Answering & Summarizer Bot using LangChain, Flan-T5, and Streamlit: A GenAI mini-project that allows users to upload research PDFs, ask questions, and get intelligent summaries using Retrieval-Augmented Generation (RAG) with locally hosted Hugging Face models.

Notifications You must be signed in to change notification settings

NoorJehan20/QuestRAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– QuestRAG: PDF QA and Summarizer Bot

An AI-powered Streamlit web application that allows you to:

  • πŸ“„ Upload research PDFs
  • πŸ” Ask context-aware questions from the paper
  • 🧠 Get automatic summarization using a local RAG (Retrieval-Augmented Generation) pipeline

This mini project was developed as part of the "Project Gen AI Applications with RAG and LangChain" course by IBM on Coursera, with several enhancements for UI, functionality, and offline model usage.


πŸš€ Features

  • 🧩 LangChain-powered RetrievalQA system
  • πŸ“š Upload any research PDF and extract information
  • πŸ€– Local inference with Flan-T5-base and MiniLM embeddings
  • πŸ’¬ Toggle between Question Answering and Summarization
  • πŸ“Ž Clean and interactive Streamlit interface with logo branding

πŸ“¦ Installation

Ensure Python 3.9+ is installed.

git clone https://github.com/YourUsername/QuestRAG.git
cd QuestRAG
pip install -r requirements.txt
streamlit run main.py

🧠 Model Info

Component Model Used
Embeddings sentence-transformers/all-MiniLM-L6-v2
Language Model google/flan-t5-base
Vector Store ChromaDB (local)

All models are stored locally for offline use in the saved_model/ directory.


πŸ“ Sample Questions You Can Ask

  • What is the main contribution of the paper?
  • How does AI personalize education?
  • What role does data play in AI-based learning?
  • Which challenges are mentioned in implementing AI in classrooms?

πŸ“Έ UI Preview

App Screenshot


πŸ™Œ Credits

  • πŸ’‘ Developed by Noor Jehan
  • πŸŽ“ Based on the course "Project Gen AI Applications with RAG and LangChain" by IBM on Coursera

About

πŸ“„ QuestRAG: AI-powered PDF Question Answering & Summarizer Bot using LangChain, Flan-T5, and Streamlit: A GenAI mini-project that allows users to upload research PDFs, ask questions, and get intelligent summaries using Retrieval-Augmented Generation (RAG) with locally hosted Hugging Face models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages