Learn how to build chatbots and text generation applications using large language models.
Add generative AI features to your existing Python or TypeScript projects with working code examples.
Understand prompting, embeddings, and retrieval-augmented generation through hands-on lessons and exercises.
Requires API keys for Azure OpenAI or OpenAI to run code examples.
This repository is a free course from Microsoft Cloud Advocates that teaches the fundamentals of building generative AI applications. Generative AI is the type of artificial intelligence that produces new content, like text, images, or code, in response to a prompt. The course is aimed at beginners and is organized as 21 short lessons that you can take in order or jump into wherever interests you most. The way it is structured is into two kinds of lessons. Learn lessons explain a generative AI concept, while Build lessons explain a concept and then walk through code examples, with versions provided in both Python and TypeScript when possible. Each lesson also has a Keep Learning section pointing to extra material. There is a separate companion course for .NET developers maintained in another repository. To actually run the code, students choose one of three model providers, Azure OpenAI Service, the GitHub Marketplace Model Catalog, or the OpenAI API, and the lessons are tagged so you know which assignments use which. A Course Setup lesson helps you prepare a development environment. You would use this if you are new to AI and want a structured, hands-on introduction to building things with large language models, or if you are a developer who wants to add generative AI features to your work and prefers Microsoft's free curriculum. The repository carries translations into more than fifty languages, automated through a GitHub Action, and the README explains how to do a sparse clone if you only want the English content. The full README is longer than what was provided.
Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.