feat: Add AI extraction schemas and prompt templates, and refine price extraction logic to prioritize TTC over HT.

This commit is contained in:
Michael committed 2025-12-18 16:57:23 +01:00
1 parent 384baa3575
commit 83fa8ed734
3 files changed
+9 -3

No files matched your search

+1
View File
@@ -37,3 +37,4 @@ Improving price extraction reliability for B&M Stores and others.
- Improved AI prompt to ignore unit prices (like "Prix au litre").
- Enhanced text extraction to remove menu/footer noise.
- Verified logic with `verify_extraction_logic.py` (simulated).
- **Fixed HT vs TTC issue**: AI was extracting 1.15€ (HT) instead of 1.38€ (TTC). Updated prompt to prioritize "Taxe incluse"/TTC prices.