Building AI-Powered Applications with Python on Azure
Build production AI apps with Azure OpenAI — chat completions, structured outputs, embeddings, RAG, agents, and evaluation.
View badge details
About This Course
Course Curriculum
14 Lessons
Azure OpenAI Setup and First Calls
Azure OpenAI Setup and First Calls - Lab Exercises
Azure OpenAI vs OpenAI direct, deployment model (resource/deployment/model), Python SDK with AzureOpenAI client, chat completions (messages array/system/user/assistant), system prompts for behavior, parameters (temperature/max_tokens/top_p)
Structured Outputs and Function Calling
Structured Outputs and Function Calling - Lab Exercises
JSON mode (response_format json_object), structured outputs with Pydantic/JSON schema, function calling (tool schemas/tools parameter/parsing tool_calls), multi-turn with tools (call/execute/return/continue), validation and retry on schema violations
Embeddings and Vector Search with Azure AI Search
Embeddings and Vector Search with Azure AI Search - Lab Exercises
What embeddings are (text to vectors/semantic similarity/cosine), Azure OpenAI text-embedding-3-small, Azure AI Search (index with vector fields/upload documents), vector and hybrid search, document chunking strategies
RAG Retrieval Augmented Generation
RAG Retrieval Augmented Generation - Lab Exercises
RAG architecture (query/retrieve/augment/generate), building the pipeline (embed query/search index/assemble context), prompt engineering for RAG (grounding/citations/not found handling), Azure AI Search integration with SearchClient, quality (hallucination/attribution/context limits)
Building AI Agents with Tool Use
Building AI Agents with Tool Use - Lab Exercises
Agent architecture (observe/think/act loop), tool definitions as Python functions with JSON schemas, agent loop (while tool_calls: execute/append/continue), Azure-integrated tools (Blob Storage/Cosmos DB/Functions), guardrails (max iterations/budget/content safety)
Evaluation Cost Control and Production Patterns
Evaluation Cost Control and Production Patterns - Lab Exercises
Evaluation (ground truth/LLM-as-judge/precision-recall for RAG), cost management (tiktoken counting/caching/model selection), rate limiting (TPM/RPM/retry with backoff), streaming (stream=True/FastAPI StreamingResponse), production architecture (async clients/health checks/graceful degradation)
Capstone Briefing AI-Powered Document Assistant
Capstone AI-Powered Document Assistant
Capstone: build production AI document assistant deployed on Azure - ingestion pipeline (Blob Storage/chunk/embed/index), RAG API (FastAPI endpoint/retrieve/generate with citations), agent mode (function calling for doc management), structured extraction (Pydantic models), production hardening (streaming/token budget/caching), evaluation suite, deployment to App Service with Key Vault