Provider merchants enhancement (#1254)

* Add AI merchant enhancement and dedup

* Enhancements

Add error if job is already running
add note that we also merge merchants

* Allow updating provider website

* Review fixes

* Update provider_merchant.rb

* Linter and fixes

* FIX transaction quick menu modal
This commit is contained in:
soky srm
2026-03-23 12:34:43 +01:00
committed by GitHub
parent cd601f1c2e
commit 12d2f4e36d
14 changed files with 735 additions and 14 deletions

View File

@@ -13,6 +13,12 @@ module Provider::LlmConcept
raise NotImplementedError, "Subclasses must implement #auto_detect_merchants"
end
EnhancedMerchant = Data.define(:merchant_id, :business_url)
def enhance_provider_merchants(merchants)
raise NotImplementedError, "Subclasses must implement #enhance_provider_merchants"
end
PdfProcessingResult = Data.define(:summary, :document_type, :extracted_data)
def supports_pdf_processing?