While trying to use UiPath.DocumentUnderstanding.Activities package Version 2.3.1 (preview) and Extract Document Data activity to extract data out of pdf document, below error is thrown. Is it due to incorrect Type of the output variable. Advise what type should be selected for the output variable?
An issue is noticed with the new Extract Document Data activity when using Gen AI. Making any changes to the prompt causes the following error.
Note: Currently, the issue is occurring with UiPath.DocumentUnderstanding.Activities versions 2.3.0 and 2.3.1 (Preview). The UiPath product team has confirmed that it is a known issue and that it may be fixed in the upcoming stable releases.
Resolution:
- Delete the Extract document data Output variable which is of type Idocumentdata and recreate it when ever prompt changes are made.