Skip to content

FlagOpen/SciSage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SciSage

This is the official repo of Scisage.

📄 Paper: https://arxiv.org/abs/2506.12689

📊 Benchmark: https://huggingface.co/datasets/BAAI/SurveyScope

Features

  • Multi-source Paper Extraction: Robust crawling from arXiv with fallback mechanisms
  • Intelligent Analysis: AI-powered paper understanding and outline generation
  • Structured Content Generation: Section-wise detailed analysis with proper citations
  • Multi-model Support: Compatible with GPT-4, local models, and cloud services

Quick Start

1. Installation

git clone https://github.com/FlagOpen/SciSage.git
cd SciSage
pip install -r requirements.txt

2. Configuration

Model Setup

Edit core/model_factory.py:

llm_map = {
    "gpt-4": AzureChatOpenAI(...),
    "gpt-4o-mini": AzureChatOpenAI(...),
}

Pipeline Settings

Edit core/configuration.py and set your Default model you want to use.

3. Run pipeline

1. cd core
2. SET YOUR SEARCH API KEY, IF YOUR WANT YOUR YOUR LOCAL MODEL, SET THE ENVIRONMENT:
3. bash run.sh

4. Run local demo

bash run_demo.sh

image image

5. RUN Local Server

export GOOGLE_SERPER_KEY="xxx"
## for general search: get from https://serpapi.com/dashboard
export SERPAPI_API_KEY="xxx"

## for Local LLM inference url, change to your local LLM server address
export LOCAL_LLM_HOST="xxx"

python3 server.py

Afater setup server, you can test the server

python3 client.py

Project Structure

SciSage/
├── benchmark/              # Paper extraction tools
│   └── get_paper_info.py   # Multi-source paper crawler for benchmark build
├── core/                   # Analysis pipeline
│   ├── main_workflow_opt_for_paper.py  # Main orchestrator
│   ├── paper_outline_opt.py            # Outline generation
│   ├── paper_poolish_opt.py            # Content polishing
│   ├── model_factory.py                # Model management
│   └── configuration.py                # Settings
└── eval/                   # Evaluation tools

License

MIT License - see LICENSE file for details.

About

official repo of SciSage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published