This website requires JavaScript.
Explore
Help
Sign In
hjess
/
ti
Watch
1
Star
0
Fork
0
You've already forked ti
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
6de7b02aba902169cd16ebcd262c34d2e4c67b01
ti
/
requirements.txt
3 lines
27 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add Flask shopping app with Nomad deployment Flask app serving the Citti shopping list with SQLite persistence, per-category item addition, dynamic custom categories, photo upload, and a post-trip price analysis page. - Port 9756, DATA_DIR env var for persistent volume in Nomad - Gitea Actions pipeline builds Docker image and deploys via Nomad API - Makefile targets: run, install, build, push Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 00:54:07 +02:00
flask>=3.0
feat(offers): Danish translation and AI matching via Claude Offers come from the German avis, so add Claude-backed language help, reusing BlaaAi's ANTHROPIC_API_KEY + Haiku pattern. Both degrade gracefully: without a key, offers stay German and the token heuristic still matches. - Translate offer headings DE→DA in the fetch job, cached per heading in a translations table (only new headings cost a call). UI shows Danish primary + German subtitle for in-store navigation. - AI match the fixed list against offers (offer_matches table): Claude returns same-product matches, far more precise than the token heuristic (which false-matched e.g. Nutella jar → advent calendar). load_deals() prefers AI matches, falls back to the heuristic. - Haiku 5.5 by default (MATCH_MODEL/TRANSLATE_MODEL env overridable to Sonnet); no temperature param (Haiku 5.5 rejects non-default). - requirements: add anthropic
2026-10-30 11:02:47 +01:00
anthropic>=0.40
Reference in New Issue
Copy Permalink