feat: Add distillery enrichment cache

Caches AI enrichment results per distillery to save API calls:
- New table: enrichment_cache (distillery, tags, hit_count)
- New service: cache-enrichment.ts (get, save, increment, stats)
- enrich-data.ts checks cache before AI query
- Saves to cache after successful AI response
- Returns cached: true/false flag for transparency

Benefits:
- 0 API cost for repeated distillery scans
- Near-instant response for cached distilleries
- Shared across all users
This commit is contained in:
2025-12-26 22:12:27 +01:00
parent 537081cd1f
commit daf6c86633
4 changed files with 177 additions and 1 deletions

File diff suppressed because one or more lines are too long