Microsoft Foundry
Domain 2 · 55–60% of the AI-901 exam
Hands-on Microsoft Foundry: write prompts, deploy and test models, build chat apps and agents with the Foundry SDK, and add text, speech, vision and Content Understanding to small Python apps.
Start the first lesson ❯ 16 of 16 lessons ready
Lessons in this module
- 1 What is Microsoft Foundry? Microsoft Foundry for AI-901, covering the resource vs a project, the portal, model catalog, Foundry Tools, agents, guardrails, endpoints and roles.
- 2 Writing System and User Prompts Write better prompts for AI-901, with system vs user messages, roles, output format, few-shot examples, grounding, delimiters and a safety system message.
- 3 Deploy a Model and Chat in the Foundry Portal Deploy a model in the Microsoft Foundry portal, pick a deployment name and type, chat in the playground, tune parameters and use View code. For AI-901.
- 4 Build a Chat App with the Foundry SDK Build a small Python chat client with the Foundry SDK for AI-901, using the project endpoint, DefaultAzureCredential, get_openai_client and responses.create.
- 5 Create and Test an Agent in the Foundry Portal Build a single agent in the Microsoft Foundry portal with a model, instructions, knowledge and tools, then test it in the agent playground for AI-901.
- 6 Build a Client App for an Agent Write a small Python client for a Microsoft Foundry agent with create_version, conversations and a multi-turn chat loop, then clean up. For AI-901.
- 7 Build a Text Analysis App Build a small Python text analysis app with Azure Language in Foundry Tools for sentiment, key phrases, entities, PII redaction and summaries. AI-901.
- 8 Answer Spoken Prompts with a Multimodal Model Send a voice question to an audio-capable model deployed in Microsoft Foundry, compare it with a speech-to-text pipeline and realtime voice. For AI-901.
- 9 Build an App with Azure Speech in Foundry Tools Build a small Python app with the Azure Speech SDK that transcribes a file or microphone and speaks replies in a neural voice with SSML. For AI-901.
- 10 Use Images in Prompts with a Multimodal Model Send photos to a multimodal model deployed in Microsoft Foundry, in the chat playground and in Python with input_image, plus limits and tips. For AI-901.
- 11 Generate Images with Generative Models Create new images with gpt-image-1 in the Foundry images playground and in Python, with prompt tips, editing, guardrails and AI-901 practice questions.
- 12 Build an App with Vision Capabilities Build a small Python app that sends a photo to a multimodal model with the Foundry SDK and reads the answer, plus when to use Azure Vision. For AI-901.
- 13 Content Understanding for Documents and Forms Extract fields from invoices, receipts and forms with Azure Content Understanding prebuilt and custom analyzers, confidence scores and grounding. For AI-901.
- 14 Content Understanding for Images Describe photos with prebuilt-imageSearch and build a custom image analyzer with classify and generate fields, like damage type from a car photo. For AI-901.
- 15 Content Understanding for Audio and Video Turn calls and videos into transcripts, summaries, speakers, segments and key frames with Azure Content Understanding, plus custom fields. For AI-901.
- 16 Build an Information Extraction App Build a small Python app with azure-ai-contentunderstanding that runs an analyzer, reads fields and confidence, and sends unsure values to review. For AI-901.
Hands-On Labs
Every section of this domain has guided labs in the practice portal and Cloud Shell. No Azure account, nothing to pay, and your progress stays in this browser.
2.1 Implement generative AI apps and agents by using Foundry
- Set up Microsoft Foundry
- Deploy a model and chat with it
- Prompt craft: system messages that work
- Chat app with the Foundry SDK
- Build your first agent
+ 1 more on the labs page