When To Use GetModelInfo

Use this activity to get the Trained model’s information, especially the Model ID, which will be one of the input for the Analyze Custom Form activity.

Activity usage

(1) Drag and drop a GetModelInfo activity from the AzureAIFormRecognizer package into the AzureAIScope drop zone.

(2) Specify the Model Location URL in the Model Location URL field property. Fill appropriate details in all fields in the property window, Refer Technical Reference.

(3) Output JSON field property returns the Model ID of the trained model and supports the string variable type. Result field property returns the success state of the activity and supports Boolean variable type. Create variables accordingly.

s

Figure 1

(1) Drag and drop a WriteLog activity from the notification package. Specify the Input String and log Level.

(2) Execute the workflow.

s

Figure 2

The Output will display the Model ID, and other essential details, such as, input Document Name, Status, etc. The model ID ascertained as the output of the Get Model Info activity will serve as one of the input for the Analyze Customs Forms Activity.

s

Figure 3

Technical Reference

s

Figure 4