A Python-based tool that analyzes tweets from @frankdegods using multiple Language Models (LLMs) to identify market predictions.
- Multi-model analysis using:
- Claude 3 Opus
- GPT-4
- Gemini Pro
- DeepSeek
- Perplexity
- Grok
- Real-time consensus calculation
- Progress tracking with status table
- Automatic error handling and retries
- Asynchronous processing
- Clone the repository:
git clone https://github.com/davidlinjiahao/frank_analyzer.git
cd frank_analyzer- Install dependencies:
pip install -r requirements.txt- Set up environment variables in
.env:
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here
GOOGLE_API_KEY=your_key_here
PERPLEXITY_API_KEY=your_key_here
GROK_API_KEY=your_key_here
DEEPSEEK_API_KEY=your_key_here
Run the script with:
python frank_classifier.pyThe script will:
- Process tweets using multiple LLMs
- Calculate consensus predictions
- Display real-time progress
- Save results to CSV file
The script generates a CSV file with:
- Original tweet context
- Individual model predictions and reasoning
- Consensus prediction based on majority voting