Azure AI Content Understanding: How to Get Started

Microsoft Developer · Intermediate ·🤖 AI Agents & Automation ·1y ago

Key Takeaways

The video demonstrates how to get started with Azure AI Content Understanding, a set of capabilities for extracting content or structured insights from documents, images, audio, video or content of any modality, using Azure AI Foundry and Azure AI services resource. It shows how to define an analyzer, extract fields from content, and use an agent to drive insights into applications.

Full Transcript

Hello everyone and welcome to this first video on an introduction to Azure AI content understanding. This is the first of a multi-part series where you're going to learn more about Azure AI content understanding. In the other videos, you can see more about how you can use content understanding to rag over a video data set or build a post call analytics workflow using Azure AI content understanding. We're excited to have you here. My job today is try to help you build your first project to build content understanding into your applications or workflows. So let's get started. Content understanding is a set of capabilities for extracting content or structured insights from documents, images, audio, video or content of any modality. You start by defining an analyzer that allows you to extract either the content that you can use for your rag workflows or the task defined schema that is a more deterministic result for your agentic apps or your automation workflows. Let's get started with content understanding in the AI foundry and walk through the process and I'll give you a little bit more detail as we go along. So here I am in the new Azure AI foundry. The first thing you'll notice is in order to create a content understanding project, I'm going to scroll down and select on content understanding here. And once I have content understanding selected, I'm going to create a new project. Content understanding uses the new Azure AI services resource. And in order to do this, you're either going to create a new Azure AI services resource or use an existing one. I've got an existing resource, so I'm just going to go ahead and use that. The resource is then connected to the AI services hub as well as a storage account as in your project creation workflow. So I'm going to go ahead and select a storage account that I already have. And now I can go ahead and create this project. This step typically takes a minute or two. So I'm going to move over and I have another tab created here where I've got a project created. This is like any other good cooking show. So here I'm going to go ahead and add my first file. In this case, I'm going to select a PDF document. Right? So, the first thing you'll notice is by providing a sample content, content understanding will now give us back a set of templates that we can work with. In this case, I'm going to get the document analysis template. I'm going to go ahead and choose that. Um, once I have my template selected, I can then go use uh the field extraction capabilities. Just remember that the template is nothing more than a configuration of some predefined ways of how you can use the content understanding capabilities. You can use this or you can choose to start from scratch and build your own. So I'm going to go ahead and first define my first field. Uh you'll notice that in this particular case since I'm working with a document, you'll see the document on the right. For those of you familiar with it, it's a 10K document or essentially a annual report. Uh, one of the fields that I might be interested in extracting from this particular document is the company name, right? And you can see I can give it a field name, give it a little bit of a description. What am I trying to extract? Give it a strongly typed field type. In this case, it needs to be a string, but it could be a variety of other types as well. And finally, I choose an extraction method. The extraction method could be extract, generate, or classify. And when you choose generate or classify, you're essentially telling the model that you you're expecting a value that is either synthesized from the from the content but not necessarily extracted from the content. Now that now that I have this defined, I can go ahead and hit save. Um, this is essentially the process that you go through to create the the fields that you're trying to extract. Notice that you're not labeling anything. You're just defining a schema. Uh so what I'm going to do now is I'm actually going to go ahead and and skip forward to a existing project that I've already built a lot of these fields into. Right? So you can see that now I have a a lot more fields here and these fields are things that I would expect to extract from a 10K report. Some of these things are pretty complex and you'll see that content understanding is now going to be able to extract these values for me from these documents. The next thing that I do once I have my schema defined is I go ahead and say analyze this particular document. Right? So I can test analyze it. You can see as part of that that that first analysis, it's extracting all of the fields that we were expecting. So company name is extracted. You'll also notice that it's producing a confidence score with each of these extracted values. These confidence scores are essentially the way that you can use to identify if there's something that you need to evaluate as a human or you can straight through process these documents. And this is a great way for you to save cost, right? So as as you increase the rate of your straight through processing, you're minimizing your cost and and the system is behaving in a in a in an optimal fashion. So now that you have your your workflow defined, this is the first thing that you've you've done is you've gone ahead and created the schema, you've analyzed your documents, you can try to continue to do this, add more documents, continue to test. Once you're happy with the with the results, the next thing you're going to do is actually create a analyzer. And like I mentioned earlier, an analyzer is nothing more than a a bundling of all of the information of the work that we've done so far. So we created the schema, we define the document type or the content type and all these things are essentially configurations within the analyzer. But what the analyzer does is it produces a a REST API endpoint that you can start using. So now I'm just going to call this my annual report two. And so this is a quick operation. And it takes about a second or two for the analyzer to to to get created. But once this is done, I now have a REST API that I can I can invoke and and test test out my um my documents with. So I can go ahead and hit test. And now I can upload a file and I can actually use this analyzer as a REST API directly in my projects, my agents or my workflows. These are all ways that you can configure a analyzer to to sort of drive insights into your applications when you're using content understanding. In order to show you how this might look, what I did was I go I went ahead and created a aentic app. Right? In this case, it's an agent uh that uses this exact uh endpoint that we've built and it's using that as a tool within this agentic workflow to say whenever it's asked to work on a 10K document, it's going to use this particular tool to extract the fields that that it needs in order to perform the actions that it needs to. So in this case, I'm going to submit a upload a document and I'm just going to ask it to extract the fields needed from the document. Right, I'm going to go ahead and hit send. Okay, the results just came back and you can see that the agent is now able to work with this particular document using the tool that we just created, extract the fields that we needed and produce the output. This output can now be used in a downstream agentic process. For example, you could do things like, you know, compare it against industry averages, produce a more meaningful report. All these things are available for you to use because now you have content understanding that deals with the challenging task of working with all these content elements and producing an output that means something to your industry or your business. That was a quick overview of what content understanding is. What I wanted to leave you with a few additional links in terms of how you could continue to to learn more. Obviously other videos in the series, but try out the documentation or the samples. And of course, if you have any questions or feedback, please do contact us. That email address is as well on your screen. Thank you so much for your time and attention. We're excited to see what you're going to build with Azure AI content understanding.

Original Description

Join Vinod Kurpad as he shows how you can process content of any modality - audio, video, documents and text - in a unified workflow in Azure AI Foundry using Azure AI Content Understanding. It's really simple and intuitive, and most importantly it doesn't require any GenAI skills! Microsoft Azure Free Trial: http://aka.ms/devrelFT Chapters: 00:00 Welcome to the 3-part video series 00:38 Components of Content Understanding 01:18 Create a new Content Understanding project 02:03 Define and create project schema 02:31 Field definition and content extraction 05:22 Build a content analyzer 06:12 Example of an agentic application 07:21 Learn more with additional resources Resources: Try it in Azure AI Foundry, https://aka.ms/content-undertsanding-aifoundry Content Understanding documentation, https://aka.ms/cu-docs Content Understanding samples, https://aka.ms/cu-samples Content Understanding contact us, cu_contact@microsoft.com
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft Developer · Microsoft Developer · 0 of 60

← Previous Next →
1 Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Microsoft Developer
2 What I Wish I Knew ... about landing a job in tech
What I Wish I Knew ... about landing a job in tech
Microsoft Developer
3 Igniting Developer Innovation with Vector Search
Igniting Developer Innovation with Vector Search
Microsoft Developer
4 Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Microsoft Developer
5 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
6 Fluent UI React Insights: Accessible by default
Fluent UI React Insights: Accessible by default
Microsoft Developer
7 Signing Container Images with Notary Project
Signing Container Images with Notary Project
Microsoft Developer
8 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
9 What programming languages does GitHub Copilot support?
What programming languages does GitHub Copilot support?
Microsoft Developer
10 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
11 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
12 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
13 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
14 Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Microsoft Developer
15 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
16 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
17 Revolutionizing Image Search with Vectors
Revolutionizing Image Search with Vectors
Microsoft Developer
18 Igniting developer innovation with Vector search and Azure OpenAI
Igniting developer innovation with Vector search and Azure OpenAI
Microsoft Developer
19 Getting Started with Azure AI Studio's Prompt Flow - Part 2
Getting Started with Azure AI Studio's Prompt Flow - Part 2
Microsoft Developer
20 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
21 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
22 Windows Terminal's journey to Open Source
Windows Terminal's journey to Open Source
Microsoft Developer
23 Can I trust the code that GitHub Copilot generates?
Can I trust the code that GitHub Copilot generates?
Microsoft Developer
24 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
25 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
26 What is the Microsoft TechSpark Program?
What is the Microsoft TechSpark Program?
Microsoft Developer
27 SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
Microsoft Developer
28 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
29 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
30 Call center transcription and analysis using Azure AI
Call center transcription and analysis using Azure AI
Microsoft Developer
31 How to use Text Analytics for health in Azure AI Language
How to use Text Analytics for health in Azure AI Language
Microsoft Developer
32 Azure OpenAI-powered summarization in Azure AI Language
Azure OpenAI-powered summarization in Azure AI Language
Microsoft Developer
33 Accelerate data labeling using Azure OpenAI and Azure AI Language
Accelerate data labeling using Azure OpenAI and Azure AI Language
Microsoft Developer
34 Building a Private ChatGPT with Azure OpenAI
Building a Private ChatGPT with Azure OpenAI
Microsoft Developer
35 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
36 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
37 Getting Started with Azure AI Studio's Prompt Flow - Part 3
Getting Started with Azure AI Studio's Prompt Flow - Part 3
Microsoft Developer
38 Intelligent Apps with Azure Kubernetes Service (AKS)
Intelligent Apps with Azure Kubernetes Service (AKS)
Microsoft Developer
39 Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Microsoft Developer
40 Chat + Your Data + Plugins
Chat + Your Data + Plugins
Microsoft Developer
41 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
42 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
43 Advanced Dev Tunnels Features | OD122
Advanced Dev Tunnels Features | OD122
Microsoft Developer
44 Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Microsoft Developer
45 Plan your SQL Migration to Azure with confidence | Data Exposed
Plan your SQL Migration to Azure with confidence | Data Exposed
Microsoft Developer
46 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
47 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
48 All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
Microsoft Developer
49 Introduction to project ORAS
Introduction to project ORAS
Microsoft Developer
50 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
51 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
52 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
53 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
54 Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Microsoft Developer
55 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
56 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
57 Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Microsoft Developer
58 Writing LLM Apps with Azure AI and PromptFlow
Writing LLM Apps with Azure AI and PromptFlow
Microsoft Developer
59 What I Wish I Knew ... about how cool working in tech could be
What I Wish I Knew ... about how cool working in tech could be
Microsoft Developer
60 Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Microsoft Developer

This video teaches how to get started with Azure AI Content Understanding, a set of capabilities for extracting content or structured insights from documents, images, audio, video or content of any modality. It shows how to define an analyzer, extract fields from content, and use an agent to drive insights into applications. By following this video, you can learn how to use Azure AI Content Understanding to automate content extraction and drive business insights.

Key Takeaways
  1. Create a new project in the Azure AI foundry
  2. Select a storage account
  3. Create a new resource in the Azure AI services resource
  4. Connect the resource to the AI services hub
  5. Add a file to the project
  6. Define a schema to extract fields from content
  7. Analyze a document to test the schema
  8. Create an analyzer that produces a REST API endpoint
  9. Configure the analyzer to drive insights into applications
  10. Use an agent to extract fields from a document using the analyzer's endpoint
💡 Azure AI Content Understanding provides a unified workflow for processing content of any modality, allowing you to extract structured insights from documents, images, audio, video or content of any modality, without requiring any GenAI skills.

Related Reads

📰
The Fall of Static Audits: Analyzing AI-Driven Supply Chain Risk Management
Learn how AI-driven supply chain risk management can help mitigate disruptions and minimize losses, making traditional static audits obsolete.
Dev.to AI
📰
Building a multilingual voice agent: lessons from FR/EN/DE: field controls that hold
Learn how to build a multilingual voice agent by applying lessons from French, English, and German language support
Dev.to AI
📰
How I run an AI agent 24/7 on a Raspberry Pi (and don't lose its memory)
Run an AI agent 24/7 on a Raspberry Pi without losing its memory, a cost-effective and secure solution
Dev.to AI
📰
How MADDPG Combines Deep Learning with Multi-Agent Strategies
Learn how MADDPG combines deep learning with multi-agent strategies to enable AI agents to learn, collaborate, and compete in complex environments
Medium · Deep Learning

Chapters (8)

Welcome to the 3-part video series
0:38 Components of Content Understanding
1:18 Create a new Content Understanding project
2:03 Define and create project schema
2:31 Field definition and content extraction
5:22 Build a content analyzer
6:12 Example of an agentic application
7:21 Learn more with additional resources
Up next
Best AI Agent Community to Accelerate Your Learning of AI (James Dooley Chats with Julian Goldie)
James Dooley
Watch →