Commit Graph

4 Commits

Author SHA1 Message Date
Harwinder bf6c890029 Implement Gemini batch sentiment scoring; replace FinBERT/transformers
- Migrate news_engine to google-genai SDK with gemini-2.5-flash-lite
- Batch all headlines into one API call per scan (30 calls -> 1)
- In-memory cache keyed by headline hash; fallback to keyword scoring
- Update requirements.txt: add google-genai, python-dotenv; remove transformers
- Add .gitignore; update CLAUDE.md with Gemini live section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 09:58:44 -04:00
Harwinder 0bb52083a3 Changed news engine code a little 2026-05-05 22:33:43 -04:00
harry e4138ee60a Fixed code 2026-05-04 14:29:32 +00:00
harry e08b593a86 Add news_engine.py 2026-05-04 04:09:32 +00:00