Calling Foundry models from Python

AI-901 · Building and deploying AI solutions · Updated

Connect to a model deployment, build chat messages with text and images, and generate images with the OpenAI-compatible APIs in Microsoft Foundry.

This lesson is part of full AI-901 access

The first 2 AI-901 lessons are free. Full access opens every lesson with its practice questions, and the exam-style AI-901 question bank.

In this lesson
  • Connecting
  • Building messages
  • Other APIs
  • Streaming
  • Exam traps
  • Practice questions

Get full access Try the free practice exam Log in

AI-901 course outline

All 6 lessons · Course overview
  1. Azure Language and Speech in Foundry ToolsAzure AI services Free
  2. Azure Vision and Content UnderstandingAzure AI services Free
  3. Generative AI workloads and responsible AIAI models and agents Full access
  4. Foundry agents, instructions and promptingAI models and agents Full access
  5. Calling Foundry models from PythonBuilding and deploying AI solutions Full access
  6. Deploying and managing models in FoundryBuilding and deploying AI solutions Full access