Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAT (Research Analysis Tool)

Open in Colab
Open App

RAT

Overview

The Research Analysis Tool (RAT) is a cutting-edge Python application designed to streamline the academic research process. By automating paper discovery, summarization, and in-depth analysis, RAT empowers researchers to make data-driven decisions efficiently and effectively.

🎥 Want a quick walkthrough? Check out my YouTube video explaining RAT! Watch Here

Workflow

  1. Query Input & arXiv Link Generation
    Users begin by entering a research query. RAT converts this query into an arXiv search URL, setting the stage for data collection.

  2. Web Scraping
    Using the requests library along with BeautifulSoup, RAT scrapes research papers from arXiv. The extracted information—comprising the title, author(s), abstract, and PDF link—is organized into a structured DataFrame.

  3. AI-Powered Summarization
    The tool then passes the DataFrame to the Groq summarizer. Here, an AI model (e.g., llama-3-8b-instant from Groq) iteratively generates concise summaries of each paper’s abstract, distilling key insights.

  4. Global Research Analysis
    Leveraging the AI-generated summaries, along with the paper titles and PDF links, RAT performs a comprehensive analysis to:

    • Identify emerging trends and subfields.
    • Detect research gaps and underexplored opportunities.
    • Highlight critical research questions for future studies.
      For this step, users can select from multiple LLMs via OpenRouter—including DeepSeek, Google Gemini 2.0 Experimental, LLaMA, Mistral, and Qwen.
  5. Citation & Export
    Finally, RAT ensures that every reference is properly cited using the provided PDF links, and a complete research report is generated, ready for download as a PDF.

Workflow Diagram

API Keys & Setup Instructions

To use RAT, you'll need API keys for both Groq and OpenRouter. Follow these steps to get set up:

  1. Groq API Key
    Register on the Groq site and follow their instructions to obtain your API key.

    Groq API Key Setup

  2. OpenRouter API Key
    Register on the OpenRouter platform and secure your API key by following their detailed guidelines.

    OpenRouter API Key Setup

Getting Started

To run RAT web app locally:

  1. Clone the Repository
 git clone https://github.com/Devashish-dixit/RAT
 cd research-analysis-tool
  1. Install Dependencies
pip install -r requirements.txt
  1. Run the Application
streamlit run app.py

Or you can download and use the interactive python notebook locally.

For a quick start though, simply click the Colab badge or the web app at the top to open the project in Google Colab.

Happy Researching!

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages