Abdu2005/research-paper-assistant
0
๐ AI Research Paper Assistant
An agentic RAG system that lets you upload research papers and ask questions with cited answers.
Features
- Multi-document support โ Upload multiple PDFs and ask cross-paper questions
- Cited answers โ Every answer shows source chunks with page numbers
- ArXiv web search โ Autonomous agent finds related papers on the web
- LLM Router โ Intelligently routes queries to RAG or web search
- RAGAS Evaluation โ Built-in faithfulness scoring (0.63 on Transformer paper)
- Filter by Paper โ Ask questions about specific papers or all at once
Tech Stack
How to Use
- Upload one or more research paper PDFs
- Ask any question about the paper(s)
- Enable Web Search Agent to find related papers on ArXiv
- Use Filter by Paper to ask about specific papers
- Click Run Eval to see RAGAS faithfulness score
Local Setup
git clone https://huggingface.co/spaces/YOUR_USERNAME/research-assistant
cd research-assistant
pip install -r requirements.txtCreate .env file:
Run:
streamlit run app.pyExample Questions
- "What is the main contribution of this paper?"
- "Compare the architecture of both papers"
- "What does BERT say about pretraining?"
- "Find related papers on transformer architecture"
Evaluation Results
Tested on "Attention is All You Need" (Transformer paper):
- RAGAS Faithfulness: 0.63
Built with LangChain + Groq + FAISS + Streamlit
