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(
|
||||
|
||||
@@ -28,7 +28,7 @@ ai.llama.topP=0.8
|
||||
ai.llama.minP=0.2
|
||||
ai.llama.repeatPenalty=1.0
|
||||
ai.llama.topK=40
|
||||
ai.llama.model=/workspace/models/InternVL2_5-8B-AWQ
|
||||
ai.llama.model=qwen
|
||||
ocr.paddle.enabled=true
|
||||
ocr.paddle.baseUrl=https://ocr.hoteltrisolaris.in/
|
||||
ocr.paddle.minScore=0.9
|
||||
|
||||
Reference in New Issue
Block a user