Information Extraction
Azure Content Understanding in Foundry Tools · analyzers and schemas · documents · images · audio · video · Python SDK
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
What Content Understanding does
Azure Content Understanding in Foundry Tools uses AI to extract structured information from unstructured content: documents and images (PDFs, forms, invoices, receipts, contracts), audio (recordings or calls) and video.
- Ingest content: you submit content to the service.
- AI-powered analysis: the service uses a combination of optical character recognition (OCR), speech recognition, natural language understanding and multimodal AI models.
- Structured output: the service returns structured results (for example, JSON) that match your model, or Markdown for search and retrieval scenarios.
- It is a Foundry service. To use it, you must create a Foundry Azure resource.
- A schema describes what information you want to extract and how that information should be structured. Schemas support structured and nested fields, not just flat text.
- Schemas are applied semantically: fields can be extracted even if labels differ or are missing.
- Basic OCR reads printed text and doesn't understand meaning, context or relationships between words. The schema-driven approach is what differentiates Content Understanding from basic OCR or transcription services.
- An analyzer is the configurable unit that takes input, applies AI analysis and produces structured results. It applies the same extraction logic to every input, so the JSON results are predictable.
| Field extraction method | What it does | Example |
|---|---|---|
| Extract | Directly extracts values as they appear in the input content (documents only) | Dates from receipts, line items from invoices |
| Classify | Classifies content from a predefined set of categories | Call sentiment, chart type |
| Generate | Generates values freely from input data | Summarizing an audio conversation, scene descriptions from videos |
Documents and forms
Document analysis has two parts: content extraction (text, structure) and field extraction (the values you define in a schema).
| Content extraction element | What it captures |
|---|---|
| Text | Machine-printed and handwritten text from hundreds of languages |
| Selection marks | Checkboxes, buttons and similar markers |
| Barcode detection | Information from over a dozen types of linear and two-dimensional barcodes |
| Tabular data | Table structures, including spanning cells and multipage layouts |
| Paragraphs and hierarchical sections | Document structure and the roles of text segments |
- Confidence scores are reliability estimates from 0 to 1 for each extracted field value.
- Grounding identifies the specific regions in the content where each value was extracted or generated, so a person can trace a value to its origin.
- Confidence and grounding are opt-in for document fields: set
estimateFieldSourceAndConfidence = truein the analyzer config. - Use them to route work: send low-confidence or insufficiently grounded extractions for human review and continue high-confidence, grounded results through automated workflows.
- Classification and segmentation split an input file into logical sections. A single file can hold several documents, such as a loan application package. The minimum unit for classifying documents is a single page.
Content Understanding or Document Intelligence
| Scenario | Recommended tool |
|---|---|
| OCR or layout extraction only | Content Understanding prebuilt-read or prebuilt-layout |
| Multimodal analysis or RAG-ready preprocessing | Content Understanding prebuilt or custom analyzers |
| Standard structured forms (invoice, receipt, ID, tax, mortgage) | Document Intelligence prebuilt model |
| Custom extraction without labels, or for unstructured documents | Content Understanding custom analyzer |
| On-premises or air-gapped deployment | Document Intelligence containers |
Content Understanding is powered by generative AI and LLMs and starts without labeled training data. Document Intelligence uses specialized models trained for document parsing and is ideal for structured documents with common templates.
Images
You define a schema that specifies the fields, descriptions and output types you want, and the service returns structured data from your images.
- RAG applications: extract key details from images to build an index that powers chat experiences.
- Financial analysis and business intelligence: analyze business performance charts and trends.
- Manufacturing quality control: detect defects and anomalies such as scratches, cracks or misalignments.
- Shelf analysis and inventory management: detect, count and extract details about retail products.
Image analyzers aren't optimized for scenarios where analysis is based primarily on extracted text. If your main goal is to extract and analyze text from images, use a document field extraction schema instead.
Audio and video
| Content | Content extraction | Field extraction examples |
|---|---|---|
| Audio | Transcription (WebVTT), diarization, speaker role detection, language detection, multilingual transcription | Summaries, sentiment, key topics, mentioned entities |
| Video | Transcription, diarization, key frame extraction, shot detection | Custom fields (for example brands seen) and segmentation of scenes |
- Diarization distinguishes between speakers and attributes parts of the transcript to them. Speaker role detection identifies agent and customer roles within contact center call data.
- Video works in two stages: content extraction (transcripts and shots), then field extraction, which uses a generative model for custom fields and segmentation.
- Segmentation:
enableSegment: falsetreats the whole video as one segment;enableSegment: truelets you describe in natural language how to split it, for example a news broadcast into stories. - Video limits: the analyzer inspects about one frame per second, and only spoken words are transcribed; music, sound effects and ambient noise are ignored.
Prebuilt and custom analyzers
| Analyzer | Use it for |
|---|---|
prebuilt-invoice | Invoices, utility bills, sales orders, purchase orders |
prebuilt-receipt | Sales receipts from retail and dining establishments |
prebuilt-contract | Business contracts and agreements |
prebuilt-idDocument | Driver licenses, ID cards, residency permits, passports |
prebuilt-read / prebuilt-layout | Basic OCR / content and layout elements (words, figures, paragraphs, tables); no language model needed |
prebuilt-documentSearch | Recommended for document ingestion in RAG workflows |
prebuilt-imageSearch | Analyzes images to generate descriptions and insights |
prebuilt-audioSearch | Transcribes conversations from audio and video files and generates a summary |
prebuilt-callCenter | Call recordings: transcripts with speaker roles, summary, sentiment, topics |
prebuilt-videoSearch | Transcripts and descriptions for each segment, with automatic segmentation |
- Base analyzers (
prebuilt-document,prebuilt-image,prebuilt-audio,prebuilt-video) are parents for custom analyzers, which add your own field schema. Custom analyzers derive from these four only. - Content Understanding Studio offers the complete prebuilt analyzer catalog, custom analyzer authoring and data labeling. The Content Understanding playground in Foundry (new) can't create custom analyzers.
Build a lightweight client app
Use the Content Understanding REST API or the Python SDK (azure-ai-contentunderstanding). You need your Foundry resource endpoint and an API key or Microsoft Entra ID.
- Create a
ContentUnderstandingClientwith the endpoint and credential. - Pick an analyzer ID (for example
prebuilt-invoice) and the input (a URL or file). - Call
client.begin_analyze(analyzer_id=analyzer_id, inputs=inputs). It starts a long-running operation. - Call
poller.result(). The SDK polls for you until the operation completes. - Read
content.markdownandcontent.fieldsfor each item inresult.contents.
- Analysis is asynchronous. With the REST API, the response header holds an
Operation-LocationURL. Poll it until the status isSucceeded. - The result is JSON with the extracted Markdown, fields, field values and confidence scores.
- You can try analyzers first in the Foundry portal: it provides content examples, lets you upload your own, and shows the JSON results.
Exam Tips
Tick each tip once you can answer it without looking.
“Turn invoices, forms or receipts into structured JSON fields” → Azure Content Understanding in Foundry Tools with a schema or a prebuilt analyzer. Trap: Basic OCR only reads text; it doesn't understand meaning, context or relationships between words.
“Extract the invoice number even when the label reads 'Invoice #' or is missing” → A schema applied semantically. Trap: Plain OCR returns text without mapping it to fields.
“What does a schema describe?” → What information to extract and how to structure it, including nested fields such as invoice line items. Trap: It isn't a flat list of text only; schemas support structured and nested fields.
“The reusable unit that applies the same extraction logic to every input” → An analyzer (prebuilt or custom). Trap: A schema alone defines fields; the analyzer is what you call with an analyzer ID.
“Decide which extracted values need a human to review” → Confidence scores (0 to 1) plus grounding. Trap: Segmentation splits content into sections; it doesn't rate values. Confidence and grounding are opt-in for document fields.
“Trace an extracted value back to where it appears in the source” → Grounding. Trap: A confidence score estimates reliability; it doesn't give the source region.
“Field extraction method: take a value as it appears vs. pick from categories vs. write new text” → Extract (documents only) / Classify / Generate. Trap: Extract is supported for documents only; summaries of audio or video use Generate.
“Standard structured forms (invoice, receipt, ID, tax) with common templates” → Document Intelligence prebuilt model. Trap: Content Understanding is the better fit for unstructured documents, inferred fields and multimodal content.
“Custom extraction from unstructured documents without labeled training data” → Content Understanding custom analyzer. Trap: A Document Intelligence custom model is for highly structured documents and is trained with labeled samples.
“Still photos: detect defects, count shelf products, read chart trends” → Image analyzer with a field schema. Trap: Image analyzers aren't optimized when the goal is mainly the text in the image; use a document field extraction schema.
“Call recordings: speaker roles, summary, sentiment” → prebuilt-callCenter (audio analyzer). Trap: prebuilt-audioSearch lists transcripts and a conversation summary as its outputs.
“Who said what in a recording” → Diarization (and speaker role detection for agent and customer). Trap: Shot detection and key frame extraction are video steps, not audio.
“Split a video into scenes or stories you describe in plain language” → enableSegment: true with contentCategories. Trap: enableSegment: false treats the whole video as one segment.
“Video limits” → About one frame per second; only spoken words are transcribed. Trap: Music, sound effects and ambient noise are ignored, and rapid single-frame events might be missed.
“Python call that starts an analysis” → client.begin_analyze(analyzer_id=..., inputs=...), then poller.result(). Trap: Creating ContentUnderstandingClient only builds the client; analysis is asynchronous and the SDK polls for you.
“REST call returned; where is the result?” → Poll the Operation-Location URL until status is Succeeded. Trap: The POST response doesn't contain the finished result because analysis is asynchronous.
“Author a custom analyzer and label data” → Content Understanding Studio. Trap: The playground in Foundry (new) can't create custom analyzers.
Sources
- Get started with AI-powered information extraction: Introduction
- Get started with AI-powered information extraction: Extract information from documents
- Get started with AI-powered information extraction: Extract information from audio and video
- Get started with AI-powered information extraction: Summary
- What is Azure Content Understanding in Foundry Tools?
- Content Understanding document overview
- Content Understanding image overview
- Content Understanding audio overview
- Content Understanding video overview
- Content Understanding prebuilt analyzers
- What is an analyzer? Configuration and reference
- Content Understanding classifier overview
- Choose the right Azure AI tool for document processing
- Content Understanding Studio and Microsoft Foundry
- Content Understanding REST API and SDK quickstart
Checked against Microsoft Learn on November 13, 2026.