Information extraction with Content Understanding

AI-901 Azure AI FundamentalsBuilding AI solutions with Microsoft FoundryAbout 20 minutesBy Cloud Hands On

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

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.

Inputs (documents, images, audio, video) go into an analyzer, which extracts content and fields using a schema, and returns structured output with confidence scores and grounding. DocumentsImagesAudioVideo Analyzersettings + field schema Structured outputfields or Markdown+ confidence, grounding
An analyzer applies the same settings and schema to every file you send it.

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.
InputTypical fields
Invoice PDFVendor, invoice number, total, due date
Photo of a meter or labelReading, serial number, product type
Call recordingTranscript, summary, sentiment, follow-up needed
Product videoScene 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.

  1. Send an analyze request to the analyzer, with the file or its URL.
  2. The service returns an operation to check, because analysis runs in the background.
  3. Check the operation until its status is Succeeded.
  4. 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

Keep going