Fixed - Template Mapping Issue - Tested Invoice JSON Extraction - Failed Other Type Document Scenario

This commit is contained in:
2026-08-02 19:25:37 +05:30
parent 85614c922d
commit cd29cfbbc3
10 changed files with 407 additions and 47 deletions

View File

@@ -57,7 +57,7 @@ def process_document_task(self, document_id: str) -> dict: # noqa: ANN001
def match_document_task(
self, # noqa: ANN001
document_id: str,
min_confidence: float = 0.5,
min_confidence: float = 0.75,
max_results: int = 5,
) -> dict:
"""Celery task to match a document against templates."""