An AI-powered research assistant that automates literature reviews, summarizes papers, analyzes PDFs, and conducts web-based research efficiently.
This AI-powered application leverages cutting-edge technologies to assist researchers by:
- 📚 Searching Research Papers: Fetches research papers from Google Scholar based on a given topic.
- 📝 Generating Literature Reviews: Summarizes key findings, methodologies, and implications from the retrieved papers.
- 📄 Analyzing PDF Research Papers: Extracts text from uploaded PDFs, uses RAG (Retrieval-Augmented Generation), and answers user questions about the content.
- 🌐 Web-Based Research: Conducts research on any topic using DuckDuckGo and Wikipedia APIs, providing a structured summary.
- Search for Research Papers
- Retrieves research papers using Google Scholar API (
scholarly
). - Generates structured literature reviews and comprehensive summaries.
- Retrieves research papers using Google Scholar API (
- Analyze PDF Research Papers
- Extracts and processes PDF content using
PyMuPDF
. - Sets up a RAG system with FAISS to answer questions about the uploaded paper.
- Extracts and processes PDF content using
- Web Research
- Uses DuckDuckGo and Wikipedia APIs for topic-based web research.
- Summarizes the results in a structured format using LangChain.
- Backend: Python, LangChain, FAISS, PyMuPDF
- Frontend: Streamlit
- AI Models: Claude-3 Sonnet (via Anthropic API), SentenceTransformer (
all-MiniLM-L6-v2
) - APIs & Tools:
- Google Scholar API (
scholarly
) - DuckDuckGo API
- Wikipedia API
- Google Scholar API (
- Libraries: LangChain, FAISS, anthropic, scholarly, pyttsx3, PyMuPDF, re, numpy, pandas
git clone https://github.com/atharvad38/AI_Based_Research_Assistant.git
cd AI_Based_Research_Assistant
# Create a virtual environment
python3 -m venv venv
# Activate virtual environment
# Linux/Mac
source venv/bin/activate
# Windows
venv\Scripts\activate
pip install -r requirements.txt
Create a .env
file in the root directory and add:
ANTHROPIC_API_KEY=your-anthropic-api-key
streamlit run main.py
- Search for Research Papers: Enter a research topic and retrieve papers.
- Analyze PDF Paper: Upload a research paper PDF and ask questions.
- Web Research: Search the web for any topic and get a structured summary.
- Chunks text from PDFs using
PyMuPDF
and creates vector embeddings withSentenceTransformer
. - FAISS indexes these embeddings to enable semantic search.
- Retrieves relevant chunks and uses Claude AI to generate answers.
- Uses DuckDuckGo and Wikipedia APIs.
- Claude AI processes retrieved content and formats it as a structured summary.
This tool is intended for academic and research purposes. Always cross-check the information from multiple sources for critical research.
🔗 GitHub Repository: AI-Based Research Assistant