llm-screening-tool
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: matheus-rech
- Language: Python
- Default Branch: Research
- Size: 7.01 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Created 12 months ago
· Last pushed 11 months ago
Metadata Files
Readme
Citation
README.md
LLM Screening Tool
A Python-based dual-LLM screening tool for systematic reviews that automates the screening of academic papers using OpenAI and Anthropic models.
Note: This tool has been verified for functionality and testing capabilities.
Features
- Dual-LLM Architecture: Uses both OpenAI (gpt-4o) and Anthropic (claude-3.5-sonnet) for comprehensive screening
- PICO-TT Extraction: Automated extraction of Population, Intervention, Comparison, Outcomes, Time Frame, and Study Types
- Multiple File Formats: Supports RIS, BibTeX, CSV, TSV, XML, Medline TXT, and PMID lists
- Real-time Interface: Modern web interface with live progress tracking
- Cost Monitoring: Built-in API cost tracking and optimization
- Human Review Triggers: Mathematical formulas to determine when human review is needed
Quick Start
Prerequisites
bash
pip install -r requirements.txt
Environment Variables
bash
export OPENAI_API_KEY=your-openai-api-key
export ANTHROPIC_API_KEY=your-anthropic-api-key
export ENTREZ_EMAIL=your-email@domain.com # For PMID fetching
Running the Application
bash
python run.py
Access the application at: http://localhost:5000
Architecture
Core Components
app/- Main application packagemodels/- Database models (Projects, Articles)routes/- Flask routes (main, screening)services/- Business logicscreening/- Dual-LLM screening logicutils/- Utilities (file parsing, cost tracking, error handling)templates/- HTML templatesstatic/- CSS/JS assets
Database
- SQLite database with SQLAlchemy ORM
- Automatic table creation on first run
- Project-based organization
File Format Support
- RIS files (Reference Manager format)
- BibTeX files
- CSV/TSV files with title/abstract columns
- XML files (PubMed/NLM format)
- Medline TXT format
- PMID lists (fetches from PubMed via Biopython)
Usage
- Create Project: Set up PICO criteria and inclusion/exclusion rules
- Upload References: Support for multiple academic file formats
- AI Screening: Dual-LLM analysis with agreement tracking
- Human Review: Review conflicts and uncertain cases
- Export Results: CSV, RIS, or BibTeX output formats
Testing
bash
pytest
License
MIT License
Owner
- Login: matheus-rech
- Kind: user
- Repositories: 1
- Profile: https://github.com/matheus-rech
GitHub Events
Total
- Delete event: 1
- Issue comment event: 110
- Push event: 57
- Pull request review comment event: 112
- Pull request review event: 73
- Pull request event: 32
- Create event: 18
Last Year
- Delete event: 1
- Issue comment event: 110
- Push event: 57
- Pull request review comment event: 112
- Pull request review event: 73
- Pull request event: 32
- Create event: 18
Dependencies
Dockerfile
docker
- python 3.11-slim build
docker-compose.yml
docker
requirements.txt
pypi
- oidsha256 *
- size652 *