🚀 BHUTORIA.AI-Powered PDF Summarizer is a tool that extracts and summarizes research papers from Uploaded PDFs using gemini-1.5-flash. The system provides structured, downloadable summaries to help researchers and professionals quickly grasp key findings.
- 🌐 Upload a research paper pdf to fetch and summarize papers.
- 📑 Extracts technical content (architecture, implementation, results).
- 🔍 Optimized for large text processing with parallel summarization.
- 🎨 Modern UI built with Streamlit.
- 📥 Download summary as a Markdown file.
| Component | Technology |
|---|---|
| Frontend | Streamlit |
| Backend | FastAPI |
| LLM Model | Google Gemma 3 |
| PDF Processing | PyMuPDF (fitz) |
| Text Chunking | LangChain RecursiveCharacterTextSplitter |
1️⃣ **Upload a pdf from your local device **
2️⃣ Click "Summarize PDF" 🚀
3️⃣ Get a structured summary with technical insights 📝
4️⃣ Download summary as Pdf 📥
git clone https://github.com/farhan11166/MP2-rag-intraiit
cd MP2-rag-intraiit
pip install -r requirements.txtGOOGLE_API_KEY=[YOUR-API-KEY] EXA_API_KEY=[YOUR-API-KEY]
### 3️⃣ Start the Backend (FastAPI)
```bash
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
streamlit run frontend.pyGET /healthResponse:
{"status": "ok", "message": "FastAPI backend is running!"}Summarize
POST /summarize/
Request Body:
{
"filename": "example.pdf",
"content": "<base64-encoded-pdf>"
}
Response:
{
"summary": "Structured summary of the research paper..."
}
