Use Content Understanding in Azure AI Foundry portal
Azure AI Foundry portal is a comprehensive platform for developing and deploying generative AI applications and APIs responsibly. This guide shows you how to use Content Understanding and build an analyzer, either by creating your own schema from scratch or by using a suggested analyzer template.
Steps to create a Content Understanding analyzer
Azure AI Foundry portal enables you to build a Content Understanding analyzer tailored to your specific needs. An analyzer can extract data from your content based on your scenario.
Follow these steps to create your own analyzer:
Upload a sample data file.
Select an analyzer template or build your own schema from scratch.
Customize the schema to fit your specific scenario.
Test the analyzer on your data and validate its accuracy.
Build the analyzer to integrate it into your applications.
Build a schema
To follow is an example of building an analyzer to extract key data from an invoice document:
Upload a sample file of an invoice document or any other data relevant to your scenario.
Content Understanding suggests analyzer templates based on your content type. For this example, select Document analysis and build your own schema tailored to the invoice scenario. When using your own data, select the analyzer template that best fits your needs, or create your own. See Analyzer templates for a full list of available templates.
Select Create.
Add fields to your schema:
Specify clear and simple field names. Example fields: vendorName, items, price.
Indicate the value type for each field (strings, dates, numbers, lists, groups). To learn more, see supported field types.
[Optional] Provide field descriptions to explain the desired behavior, including any exceptions or rules.
[Optional] Specify the method to generate the value for each field.
Select Save.
Content Understanding generates the output based on your schema. Test the analyzer's accuracy on added data or make changes to the schema if needed.
Once you're satisfied with the quality, select Build analyzer. This action creates an analyzer that you can integrate into your applications. You also receive an analyzer ID, which you can use to call the analyzer from your code.
Analyzer templates
Content Understanding analyzer templates give you a head start by allowing you to build your analyzer without creating schemas from scratch. They're fully customizable, allowing you to adjust any fields in the schemas to better fit your needs.
The following analyzer templates are available for use in the Azure AI Foundry portal Content Understanding experience.
Template | Description |
---|---|
Document analysis | Analyze documents to extract text, layout, structured fields, and more. |
Text analysis | Analyze texts and extract structured fields. |
Next steps
- In this quickstart, you learned how to create an analyzer in Azure portal. To use REST API, see the REST API quickstart.