Mike Fishbein commited on
Commit
1bf83b4
Β·
1 Parent(s): 977b818

πŸš€ Implement Claude 4-Primary Search Strategy

Browse files

MAJOR UPGRADE: Switch from Wikipedia-first to Claude 4-first search approach

Key Changes:
- Claude 4 Web Search now primary for 90% of questions (vs 30% before)
- Superior multi-source reasoning for complex GAIA questions
- Wikipedia demoted to smart fallback (10% vs 70% before)
- Intelligent routing: only simple factual questions go to Wikipedia first
- Expected +25-30% accuracy improvement for complex reasoning questions

Strategy Impact:
- Before: Wikipedia 70%, Claude 30% (good for facts, poor for reasoning)
- After: Claude 90%, Wikipedia 10% (intelligent reasoning + context)
- Target: 25% β†’ 50-55% GAIA accuracy with superior question understanding

1 file changed +44 -34
langgraph_agent.py+44-34