CoolFace
Apppublic

SanketAI/Academic-Research-Paper-Assistant

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
README.md136 linesDownload Raw Back to root
1---2title: Academic Research Paper Assistant3emoji: ๐Ÿš€4colorFrom: gray5colorTo: yellow6sdk: streamlit7sdk_version: 1.40.18app_file: app.py9pinned: false10short_description: Academic-Research-Paper-Assistant11---12 13 14# Academic Research Paper Assistant15 16An intelligent assistant that helps researchers search, analyze, and synthesize academic papers using Large Language Models (LLMs). The application provides multi-agent capabilities for paper search, question answering, summarization, and future research direction generation.17 18[Watch the Project Demonstration on YouTube](http://www.youtube.com/watch?v=DpunojtYDFE)19 20![Front-End of app](imgs/Frontend.png)21## Features22 23- **Paper Search**: Search and retrieve relevant research papers from Arxiv24- **Question Answering**: Get answers about specific papers or content with source citations25- **Summarization**: Extract key findings and trends from multiple papers26- **Future Works Generation**: Generate research directions and improvement plans27- **Interactive UI**: User-friendly Streamlit interface for paper browsing and chat28 29## Architecture30 31The application uses a multi-agent system with the following components:32 33- **Intent Agent**: Classifies user queries to route to appropriate specialized agents34- **Search Agent**: Retrieves and processes papers from Arxiv35- **QA Agent**: Handles specific questions about paper content36- **Summarization Agent**: Synthesizes information across multiple papers37- **Future Works Agent**: Generates research directions and review papers38 39## Technology Stack40 41- **Frontend**: Streamlit42- **Backend**: FastAPI43- **LLM Integration**: Google Generative AI44- **Vector Store**: FAISS45- **Document Processing**: LangChain46- **PDF Processing**: PDFMiner47 48## Installation49 501. Clone the repository:51```bash52git clone https://github.com/Sanket-Kathrotiya/Academic-Research-Paper-Assistant.git53```54 552. Create and activate a virtual environment:56```bash57conda create --name venv58conda activate venv59```60 613. Install dependencies:62```bash63pip install -r requirements.txt64```65 664. Set up environment variables:67```bash68# Create .env file69GOOGLE_API_KEY=your_api_key_here70```71 72## Usage73 741. Start the application:75```bash76cd src77streamlit run app.py78```79 802. Open your browser and navigate to `http://localhost:8501`81 823. Enter your research topic or question in the chat interface83 844. Select papers of interest from the timeline view85 865. Interact with the assistant through natural language queries87 88## Example Queries89 90- "Find papers about text-to-SQL"91- "What are the key findings in Paper X?"92- "Summarize the advancements in this field over the last 5 years"93- "What are potential future research directions?"94- "Generate a review paper outline"95 96## Project Structure97 98```99src100โ”œโ”€โ”€ agents101โ”‚   โ”œโ”€โ”€ __init__.py102โ”‚   โ”œโ”€โ”€ dummy103โ”‚   โ”œโ”€โ”€ future_works_agent.py104โ”‚   โ”œโ”€โ”€ intent_agent.py105โ”‚   โ”œโ”€โ”€ qa_agent.py106โ”‚   โ”œโ”€โ”€ search_agent.py107โ”‚   โ””โ”€โ”€ summarization_agent.py108โ”œโ”€โ”€ config109โ”‚   โ””โ”€โ”€ config.py110โ”œโ”€โ”€ app.py111โ”œโ”€โ”€ router.py112โ”œโ”€โ”€ README.md113โ””โ”€โ”€ requirements.txt114```115 116 117 118## Acknowledgments119 120- [Streamlit](https://streamlit.io/) for the web interface framework121- [LangChain](https://python.langchain.com/) for LLM integration122- [Google Generative AI](https://ai.google.dev/) for the language model123- [Arxiv](https://arxiv.org/) for the research paper database124 125## Requirements126 127See `requirements.txt` for a full list of dependencies.128 129 130 131 132 133 134 135Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference136