mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 23:25:00 +00:00
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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user