Keyword Based Classifier

Hello there,
I have a question regrading to the document understanding
I am using keyword Based Classifier to extract info from image ,but what I need is to extract the keyword
based on the user input.

So do we have option to pass the keyword dynamically via arguments or Variable to keyword set to avoid rebuilding the package again if there is any change in the keyword.
q1

hi @Hisham_Alshareef
keyword classifier isnt for extracting info from image, its for classifying document types

here you added the “id” keyword under document type “01010705619…” means if robot detects “id” keyword in the document it will classify it as document type = “01010705619…”
image

hence, theres no reason for keywords here to be dynamic

extracting information is done in the data extraction scope, the fields to extract are defined in taxonomy manager

hi @jack.chan

Aha got it!!

I am using data extraction scope, but the question is I need from the robot to recognize the keyword classifier which is the number in this case, but the number is changing every time based on the user input from a UI form to extract info after validation of number.
So how can we have option to pass the keyword dynamically via arguments or Variable to keyword set to avoid rebuilding the package again if there is any change in the keyword.

you mean e.g. user pass in number 12345, that means your document type = 12345? is that it?

@Hisham_Alshareef
if thats correct, you can completely skip the classify document scope and pass document type to the data extraction scope - documentTypeID property , thats how you make it dynamic

note that documentTypeID = {GroupName}.{CategoryName}.{DocumentName}

you can confirm your group name and category name in taxonomy manager / in documentProcessing folder - taxonomy.json file
e.g. for me group=Test and category=Test
image
so my dynamic document id would be “Test.Test.”+userInput