switch to qwen back
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s

This commit is contained in:
androidlover5842
2026-02-01 01:28:25 +05:30
parent f51a1a80e8
commit 1b7ee1004c
2 changed files with 5 additions and 7 deletions

View File

@@ -90,12 +90,10 @@ class DocumentExtractionService(
localImageUrl,
"CONTAINS AADHAAR? Answer YES or NO only."
)
results["hasUidai"] = askWithContext(
ocrText,
localImageUrl,
"CONTAINS UIDAI? Answer YES or NO only."
)
isYes(results["hasAadhar"]) || isYes(results["hasUidai"])
val hasUidai = isYes(askWithContext(ocrText,localImageUrl,"CONTAINS UIDAI? Answer YES or NO only.")) ||
isYes(askWithContext(ocrText,localImageUrl,"CONTAINS Unique Identification Authority of India? Answer YES or NO only."))
isYes(results["hasAadhar"]) || hasUidai
},
handle = {
val aadharQuestions = linkedMapOf(