Information extraction with Content Understanding
Use Azure Content Understanding in Foundry Tools to turn documents, images, audio and video into structured data, and call it from a small app.
In this lesson you'll learn
- What Content Understanding does and the inputs it supports
- Analyzers: prebuilt and custom, and field schemas
- Extract, classify and generate fields, with confidence scores and grounding
- Calling an analyzer from an app
1. What Content Understanding does
New to information extraction? Start here
Businesses receive lots of unstructured content: invoices, contracts, photos, call recordings and videos. Information extraction turns that content into structured data, such as an invoice number, a total and a due date, that other systems can use.
Azure Content Understanding in Foundry Tools uses generative AI to process documents, images, audio and video. It turns them into the output format you define: Markdown for search and RAG, or JSON fields for automation.
2. Analyzers and field schemas
- Prebuilt analyzers cover common scenarios, such as invoices, receipts, contracts, call-centre recordings and video, so you can start without setup.
- Custom analyzers use your own field schema: the list of fields you want back.
- Each field is produced by one of three methods. Extract takes the value as it appears, and works on documents only. Classify picks from categories, such as call sentiment. Generate creates a value, such as a summary of a video scene.
- Confidence scores (0 to 1) and grounding (where in the source the value came from) let you automate high-confidence results, and send the rest to a person.
| Input | Typical fields |
|---|---|
| Invoice PDF | Vendor, invoice number, total, due date |
| Photo of a meter or label | Reading, serial number, product type |
| Call recording | Transcript, summary, sentiment, follow-up needed |
| Product video | Scene descriptions, topics, chapters |
3. Calling an analyzer from an app
An app sends a file (or its URL) to an analyzer on your Foundry resource's endpoint. Analysis runs asynchronously: the app starts the operation, waits for it to finish, then reads the JSON result containing the fields, their confidence and their source locations.
- Send an analyze request to the analyzer, with the file or its URL.
- The service returns an operation to check, because analysis runs in the background.
- Check the operation until its status is Succeeded.
- Read the result: each field, such as InvoiceTotal, comes with its value, confidence score and source location.
The same steps work through the REST API or the client libraries, and the Foundry portal lets you test an analyzer on sample files first.
Example
A logistics firm receives delivery notes as scans, photos and voicemails. One custom analyzer extracts the consignment number, delivery date and signatures. Results above 0.9 confidence go straight into the tracking system, and the rest go to a review queue.
Exam traps to remember
- Content Understanding handles documents, images, audio and video, not just documents.
- "Extract" works only on documents. For audio and video, fields are classified or generated.
- Use confidence scores to decide what needs human review.
Test yourself: 3 check questions and exam-style practice questions on this topic are in the AI-901 Azure AI Fundamentals app.
Practise in the app