bmc_hub/app/emails/frontend
Christian ea4905ef8a fix: vendor DB lookup after regex/AI extraction v2.2.20
extract_vendor_suggestion now matches found CVR/domain/name against
vendors table for ALL code paths (not just fast path):
- CVR match → score 100
- Domain match → score 80
- Email-domain match → score 75
- Name substring → score 60

Frontend auto-links when match_score >= 80 (was only pdf_extraction source).
Shows score reason: CVR-match/domæne-match/navne-match in success toast.

Also: saves newly found CVR to extracted_vendor_cvr so fast path
works on subsequent calls for old emails too.
2026-03-02 00:35:44 +01:00
..
emails.html fix: vendor DB lookup after regex/AI extraction v2.2.20 2026-03-02 00:35:44 +01:00
views.py feat: Implement email management UI with FastAPI and keyword-based classification 2025-12-11 12:45:29 +01:00