You are developing an application that extracts fields from PDFs by using Azure Content Understanding in Foundry Tools.
You need to use the Python SDK to submit a PDF for analysis and retrieve the extraction results.
What should you do?
Azure Content Understanding analysis operations are long-running operations in the Python SDK. Microsoft's Python SDK documentation states that analysis operations return a poller, and the SDK provides LROPoller types that handle polling automatically when you call .result().
Therefore, the correct workflow is to submit the PDF by calling begin_analyze(), receive a poller, and then call:
result = poller.result()
Option B is incorrect because extraction results are not read from request headers. Option C is incorrect because the requirement is to use Azure Content Understanding extraction, not build a manual OCR-only mapping pipeline. Option D is incorrect because the SDK analysis pattern is asynchronous/long-running, not a simple synchronous analyze() call that returns all extracted fields in the same request.
Beatriz
5 days agoWillard
10 days ago