Effective usage of AI Units with DU Modern Design Experience

Effective usage of AI Units with DU Modern Design Experience

Issue Description:

Effective usage of AI Units with DU Modern Design Experience

With DU Modern Design Experience we charge 1 AI unit per page for classification and extraction.

On the "UiPath.DocumentUnderstanding.ML.Activities" package, we do find two different activities "Classify Document" & "Extract Document Data"

How to ensure that calling both activities in a process will result in only 1 AI unit consumption. Is there anything specific a developer needs to consider when designing a DU extraction process?


Resolution:

Make sure to reuse the "Document Data Output" of Classify Document as input to "Extract Document Data". In this way, we would reference the same document and charge once only. (as shown below):