So, there could be two areas you refer to.
The first in the Generative AI Extraction from the Document Understanding package, the other is using an AI Agent for Document Understanding.
Both have some advantages and drawbacks.
The one in the Document Understanding package is good, but its unable to handle tabular data at this point (I can be corrected on this, I remember them releasing something on ‘complex documents’ but I feel like tables still weren’t available).
Its also annoying to update since the prompts are held in the package and so you need to push new versions to push updates to prompts.
You need to make sure you build a robust testing framework around the extractor to test your prompt improvements.
The one in the agent builder has alot more flexibility than the one in the Document Understanding Center as you can represent tables and even more complex data, and you can set up evaluations in there to have a good way to test your changes and discreetly publish different versions.
The biggest downside here is that it currently doesn’t integrate into the Action Center at all without a custom built form if you want a human to validate the output of the agent, which is something the above method can do.