AI Workloads
Generative and agentic AI · text analysis · speech · computer vision · information extraction
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Common AI workloads and when to pick each
Microsoft Learn's path Get started with AI applications and agents on Azure lists these common AI workloads: generative AI and agents, text analysis, speech, computer vision and information extraction (and knowledge retrieval with Foundry IQ).
| Workload | What it does | Scenarios on Learn |
|---|---|---|
| Generative AI | Creates new content from a prompt. Large language models (LLMs) are its foundation. | Marketing content, code generation, image and video generation, tutoring and study guides |
| Agentic AI | Agents are applications built with generative AI models that reuse consistent, workflow-like behavior. | Virtual agents that answer customer inquiries in natural language |
| Text analysis | Natural language processing (NLP) that extracts useful information from written text: sentiment, keywords, entities, topics. | Customer feedback analysis, legal document summarization |
| Speech | Speech recognition (speech-to-text) and speech synthesis (text-to-speech). | Closed captions, call transcripts, reading messages aloud |
| Computer vision | Interprets and understands visual information such as images, videos and live camera feeds. | Defect detection in manufacturing, shelf monitoring in retail, medical imaging analysis |
| Information extraction | Azure Content Understanding turns unstructured content into structured data. | Invoices and receipts, voicemail, recorded meetings |
Match the verb in the scenario to the workload: create new content = generative; analyze text = text analysis; spoken input or output = speech; see or create pictures = vision; pull fields out of documents, audio or video = information extraction.
Generative AI and agents
- Generative AI is a subset of AI that focuses on creating new content.
- Models = raw intelligence. Use a model alone for pure inference: take a prompt and generate output. You can call it through the OpenAI Responses API.
- Agents = packaged, task-oriented workers built on top of a model.
- An agent in Microsoft Foundry brings together three things: a model, instructions (the system prompt that defines role, behavior, style, constraints and output rules) and tools (the actions the agent can take).
- Agents can call external tools (APIs, functions, retrieval) automatically, break goals into structured steps and keep working memory during a conversation.
| Agent capability | What it gives the model | Examples on Learn |
|---|---|---|
| Tools | Actions: the model calls external systems | Code Interpreter, custom functions or APIs, an MCP server, searching the web |
| Knowledge | Context: documents retrieved through retrieval-augmented generation (RAG) | Internal PDFs, SharePoint content, Azure Storage files |
Learn's shorthand: Tools = actions. Knowledge = context. When knowledge is used, the response includes a citation for the knowledge store the agent used.
The Model Context Protocol (MCP) is an open standard that defines how AI agents connect to external tools and data sources. The MCP client is the agent (or its host application); the MCP server exposes tools, data or actions.
Text analysis techniques
Foundry portal offers two approaches: general-purpose AI models that take natural language prompts, and purpose-built language tools that return structured, deterministic results for specific tasks.
| Technique | What it returns | Typical use |
|---|---|---|
| Key phrase extraction (keywords) | The main concepts or points from unstructured text | Indexing and searching for relevant documents |
| Entity recognition (entity detection) | People, places, dates and other entities, each with a type and sometimes a subtype | Finding Person, Location, Organization, DateTime and Quantity values |
| Entity linking | Known entities together with a link to Wikipedia | Identifying well-known entities |
| Sentiment analysis | A classification of a document as positive, negative or neutral | Social media, customer reviews, discussion forums |
| Summarization | A summary that identifies the most important information | Long documents turned into concise paragraphs |
| Language detection | The primary language (and dialect) with a confidence score | Routing text to the right model or process |
| PII detection | Personal details such as names, phone numbers, email addresses and street addresses; can optionally redact them | Redacting sensitive details before text is stored or shared |
General-purpose model or Azure Language?
| General-purpose AI model | Azure Language in Foundry Tools | |
|---|---|---|
| How you use it | Natural language prompts, for example in the chat playground | Purpose-built analyzers, for example through the Azure Language SDK |
| Output | Depends on how you phrase the request; can vary between calls because the model generates text probabilistically | Structured, deterministic output from statistical techniques |
| Best when | You want flexible tasks: summarize, translate, classify, answer questions, combined in one conversation | An automated pipeline needs consistent values such as a language code, confidence score or redacted text |
- The Azure Language SDK methods named on Learn are
detect_language()(language, ISO 639-1 code and a confidence score between 0 and 1) andrecognize_pii_entities()(redacted text plus the entities found with category and confidence score). - An agent that uses a model alone can't do deterministic, structured text analysis. Add the Azure Language MCP server as a tool to give the agent consistent, predictable analysis, for example routing support tickets by detected language.
Speech recognition and speech synthesis
| Capability | Direction | Details on Learn |
|---|---|---|
| Speech recognition (speech-to-text, STT) | Audio in, text out | An acoustic model converts audio into phonemes; a language model maps phonemes to words. Used for closed captions, call transcripts and note dictation. |
| Speech synthesis (text-to-speech, TTS) | Text in, audio out | Needs the text and the voice to use. Neural voices sound more natural; you can adjust speed and pitch, and develop custom voices. |
| Speech-to-speech | Audio in, audio out | A pipeline of speech-to-text, processing or reasoning, then text-to-speech. Examples: voice assistants, speech translation, hands-free apps. |
Real-time or batch transcription
- Real-time: your application streams audio from a microphone or other input and gets transcribed text back. Good for presentations and demos.
- Batch: point to stored audio files with a shared access signature (SAS) URI and asynchronously receive results. Jobs are scheduled on a best-effort basis; there is no estimate for when a job starts running.
- Azure Speech provides a speech-to-text API and a text-to-speech API. The Python snippets on Learn use a
SpeechRecognizerobject for transcription and aSpeechSynthesizerobject for generating audio. - The Voice Live API in Azure Speech lets applications have real-time voice conversations. It combines speech-to-text, AI reasoning and text-to-speech into one service. It uses a generative AI model alongside its own acoustic models.
Computer vision, image generation and video generation
| Need | Model type | Examples named on Learn |
|---|---|---|
| Describe an image, answer questions about it, read charts and screenshots | Multimodal (vision-enabled) model: accepts text and images together | GPT-4.1, GPT-4.1-mini, GPT-4.1-nano; GPT-5 series; partner models |
| Create a new image from a text description, or edit an image | Image generation model (text-to-image, image-to-image, editing) | GPT-Image-1.5, GPT-Image-1, GPT-Image-1-Mini; FLUX (third party) |
| Create a video from a prompt | Video generation model (text, image or video in; video out) | Sora 2 |
- Multimodal models work with more than one type of data at the same time, such as text, images, audio or video. They reduce the need for separate vision pipelines.
- A single Responses API request can include text and image input together. Images can be supplied as URLs or as base64-encoded image data.
- Image generation works in the reverse direction: it generates images that correspond to text descriptions. GPT-Image-1-Mini is the lighter, more cost-efficient choice when lower latency or cost matters more than maximum visual fidelity.
- Video generation is resource-intensive and typically runs as an asynchronous job: create the job, poll its status, then download the video once it is completed. Times are often 1 to 5 minutes.
Information extraction with Azure Content Understanding
Azure Content Understanding ingests unstructured content, analyzes it and returns structured data, for example JSON. It supports documents, audio and video.
| Concept | Meaning |
|---|---|
| OCR | Reads text from pictures such as scanned documents and receipts. Basic OCR extracts text; it doesn't understand meaning, context or relationships between words. |
| Schema | Describes what information to extract and how it is structured. Supports structured and nested fields (for example an Items collection). Applied semantically, so fields can be found even when labels differ or are missing. |
| Analyzer | The unit that takes input, applies AI analysis and produces structured results. Prebuilt or custom. |
| Prebuilt analyzers named on Learn | prebuilt-invoice, prebuilt-imageSearch, prebuilt-audioSearch, prebuilt-videoSearch |
- Documents: schema-based extraction of fields and values, such as vendor name, invoice date and line items.
- Audio: transcriptions, summaries and key insights, for example caller, message summary and callback number from a voicemail.
- Video: details such as attendance counts, who spoke and what they said, a summary and assigned actions.
- In code, you pick an analyzer ID and call
begin_analyze. Analysis is asynchronous, so you get the result later; the SDK handles the polling.
A transcript is not an extracted schema. Speech-to-text returns text; Content Understanding applies your schema and returns fields. Learn says the schema-driven approach is what differentiates it from basic OCR or transcription services.
Exam Tips
Tick each tip once you can answer it without looking.
“Turn recorded speech into text (call transcripts, captions)” → Speech recognition, also called speech-to-text (STT), in Azure Speech. Trap: Speech synthesis goes the other way: text in, audio out.
“Read text aloud in a natural-sounding voice” → Speech synthesis (text-to-speech) with a neural voice. Trap: Speech recognition converts audio to text, not text to audio.
“Real-time spoken conversation with an agent, without wiring separate speech pieces together” → Voice Live API in Azure Speech (speech-to-speech). Trap: A plain speech-to-text API returns text; it doesn't reason or reply with audio by itself.
“Transcribe many stored recordings by SAS URI; no live stream” → Batch transcription (asynchronous). Trap: Real-time transcription streams audio from a microphone or input; batch jobs run best-effort with no start-time estimate.
“Pull out the main concepts of a review for indexing and search” → Key phrase extraction. Trap: Entity recognition returns typed items (person, place, date); sentiment analysis returns positive, negative or neutral.
“Find people, places, organizations, dates and quantities, each with a type” → Entity recognition (named entity recognition). Trap: Key phrase extraction lists main concepts without entity types.
“Classify feedback as positive, negative or neutral” → Sentiment analysis. Trap: Summarization shortens text; it doesn't score tone.
“Pipeline needs consistent structured values: language code, confidence score, redacted text” → Azure Language in Foundry Tools (for example detect_language(), recognize_pii_entities()). Trap: A general-purpose model's output can vary between calls because it generates text probabilistically.
“Free-form tasks in one chat: translate, then summarize, then answer follow-ups” → A general-purpose AI model driven by prompts. Trap: Azure Language analyzers are purpose-built for specific text analysis tasks, not open-ended chat.
“Agent needs consistent, deterministic text analysis” → Connect the Azure Language MCP server to the agent as a tool. Trap: A model alone can't do deterministic, structured text analysis.
“What does an agent in Foundry bring together?” → A model, instructions (system prompt) and tools. Tools = actions; knowledge = context.. Trap: A model on its own is raw inference, not an agent.
“Describe a photo or answer questions about an image” → A multimodal (vision-enabled) model that accepts text and images together. Trap: Image generation models work in reverse: text description in, image out.
“Create an original picture, or edit one, from a text prompt” → An image generation model such as the GPT-Image-1 family. Trap: Vision-enabled GPT models analyze images; Sora is text-to-video.
“Create a video clip from a prompt” → A video generation model such as Sora 2; an asynchronous job: create, poll, download. Trap: Don't expect an instant result: video times are often 1 to 5 minutes.
“Extract vendor, date and line items from invoices even when labels differ” → Azure Content Understanding with a schema (for example prebuilt-invoice). Trap: Basic OCR extracts text but doesn't understand meaning, context or relationships between words.
“Voicemail in, caller, summary and callback number out as JSON” → Content Understanding audio analyzer (prebuilt-audioSearch) with a schema. Trap: Transcription alone returns text; the schema is what produces named fields.
Sources
- Get started with AI applications and agents on Azure (learning path)
- Get started with generative AI and agents: Generative AI models
- Get started with generative AI and agents: Introduction
- Get started with generative AI and agents: Using a generative AI model
- Get started with generative AI and agents: Creating an agent
- Get started with text analysis: Introduction
- Get started with text analysis: Understand text analysis in Foundry
- Get started with text analysis: Create a client application that analyzes text
- Get started with text analysis: Use Azure Language with an agent
- Get started with speech: Speech recognition
- Get started with speech: Speech synthesis
- Get started with speech: Creating a speech-capable agent
- Get started with computer vision: Introduction
- Get started with computer vision: Multimodal models for image analysis
- Get started with computer vision: Image generation models
- Get started with computer vision: Video generation models
- Get started with information extraction (module)
- Get started with information extraction: Extract information from documents
- Get started with information extraction: Extract information from audio and video
Checked against Microsoft Learn on November 13, 2026.