Analyze Custom Forms
This activity is used to analyze custom forms for which we have trained a model and then give the output based on that.
Technical Reference:
|
INPUT |
InputFormPath: Specify the path of the file which has to be analyzed. |
ModelID: Specify the model ID of the trained model derived from the get model info. |
||
MISC |
Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes. |
|
SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False”. By default, it is set to “False” True: Continues the workflow to the next step False: Stops the workflow and throws an error. |
||
Version: It specifies the version of the AzureAIFormRecogniser feature in use |
||
OUTPUT |
OutputJson: This is not a mandatory field. However, to view the result of the analyzed custom form, a variable must be created here, to view the result in an output box. |
|
Result: Declare a variable here to validate the activity. It accepts only Boolean value. This is not a mandatory field. |
*Mandatory fields to execute the workflow
The following activity illustrates on how we can use the analyze custom form activity to analyze the custom input form given.
Example:
1. Drag and drop an Azure AI scope activity to the workflow.
2. Enter the details of the account key and end point.
3. Drag and drop an analyze custom forms activity into the Azure AI Scope.
4. Click on the activity.
5. Enter the path of the form that has to be analyzed within double quotes.
6. Enter the Model ID derived from the Get model info for the trained model
7. Enter the declared variable in the outputjson box to view the result of the analyzed custom forms. Here the variable is output.
8. Drag and drop a writelog activity below the analyze custom forms
9. Click on the activity.
10. Enter the same variable declared above in the input string of the write log.
11. Enter the log level as “info.”
12. Execute the activity.
The bot executes the activity, analyzes the custom form, and gives the output.
To view a detailed report of the output, go to HOME---->LOGS--->OPEN LOGS and open the log info to view the same.