Defining Content Understanding Analyzers and Field Schemas
This lesson explains how Azure Content Understanding in Foundry Tools turns unstructured content into structured data with analyzers, what an analyzer contains and how results are structured.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the three stages of Content Understanding.
- Describe what an analyzer specifies.
- Choose the extract, classify or generate method for a field.
- Identify where analyzers are designed and tested.
How Content Understanding works
Content Understanding follows three stages. Content is ingested, as a URL or uploaded file. It is analyzed with a combination of OCR, layout analysis, speech recognition and generative models. And it is returned as structured output in JSON: the content as Markdown plus the fields that the analyzer defines, each with a confidence score and its source location. The service uses chat completion and embedding model deployments in the Foundry resource, which are registered once as the resource's default deployments, and it applies the deployments' guardrails.
The following diagram shows the three stages of Content Understanding.

Three stages of analysis
Analyzers
An analyzer is a reusable configuration that applies the same extraction logic to every input. It specifies the content type it is based on (document, image, audio or video), processing options, the models it uses and a field schema. Prebuilt analyzers cover common scenarios, and custom analyzers extend a base analyzer with your own schema. The following table lists prebuilt analyzers that appear in Microsoft's learning material.
| Prebuilt analyzer | Purpose |
|---|---|
| prebuilt-invoice | Invoice fields such as vendor, dates, totals and line items |
| prebuilt-documentSearch | Document Markdown, figures and a summary for search and RAG |
| prebuilt-imageSearch | Image descriptions for search |
| prebuilt-audioSearch | Transcript and summary of recordings for search |
| prebuilt-videoSearch | Video segments, transcript and descriptions for search |
Prebuilt analyzers
Field schemas
A field schema lists the fields to return. Each field has a name, a type (string, number, integer, date, time, boolean, array or object, so that nested structures such as invoice line items are possible), a description that tells the model what the field means, and a method.
- extract: return a value that appears in the content, such as an invoice number.
- classify: choose one of a list of values (an enum), such as the document type.
- generate: produce a value from the content, such as a summary or a yes/no judgment.
Because extraction is semantic, a field described as the invoice number is found whether the document labels it Invoice No., Invoice # or not at all.
Inside a field schema
Where to design analyzers
In the Foundry portal and in Content Understanding Studio, you can run prebuilt analyzers on sample or uploaded files, view the extracted fields over the source, inspect the JSON, and build custom analyzers by defining fields and testing them. Analyzers can also be created with the REST API or the Python SDK, which suits automation.
Choosing field methods
A custom analyzer for supplier letters must return (1) the supplier's reference number printed in the letter, (2) whether the letter is a quote, an order confirmation or a complaint and (3) a one-sentence summary. Which method should each field use?
(1) uses extract, because the value appears in the letter. (2) uses classify with an enum of the three types. (3) uses generate, because the summary is written by the model rather than copied from the letter.
What does an analyzer return for each input?
Show answer
Markdown of the content plus the schema's fields, each with a confidence score.
Exam Tips
Remember for the exam
- Analyzers apply the same schema to every input and return Markdown plus fields with confidence.
- Prebuilt analyzers cover invoices and search scenarios; custom analyzers add your own schema.
- Field methods: extract, classify (enum) and generate.
- Content Understanding uses default model deployments in the Foundry resource.