switch to qwen back
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user