microsoft /generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

★ 123,279⑂ 66,220👁 1,025⑃ 989● 252▤ 0◈ 53
Jupyter NotebookMITCreated 2023-06-19
123,279
stars
+78+429
66,220
forks
1,025
watchers
989
prs
252
issues
0
releases
53
discussions

README

!Generative AI For Beginners

 21 Lessons teaching everything you need to know to start building Generative AI applications













 🌐 Multi-Language Support

 Translations maintained with Co-op Translator


Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Kannada | Khmer | Korean | Lithuanian | Malay | Malayalam | Marathi | Nepali | Nigerian Pidgin | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Telugu | Thai | Turkish | Ukrainian | Urdu | Vietnamese

 Prefer to Clone Locally?

 This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout:

 Bash / macOS / Linux:
 bash
 git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
 cd generative-ai-for-beginners
 git sparse-checkout set --no-cone '/' '!translations' '!translated_images'
 

 CMD (Windows):
 cmd
 git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
 cd generative-ai-for-beginners
 git sparse-checkout set --no-cone "/" "!translations" "!translated_images"
 

 This gives you everything you need to complete the course with a much faster download.


 Generative AI for Beginners (Version 3) - A Course

Learn the fundamentals of building Generative AI applications with our 21-lesson comprehensive course by Microsoft Cloud Advocates.

 🌱 Getting Started

This course has 21 lessons. Each lesson covers its own topic so start wherever you like!

Lessons are labeled either "Learn" lessons explaining a Generative AI concept or "Build" lessons that explain a concept and code examples in both Python and TypeScript when possible.

For .NET Developers checkout Generative AI for Beginners (.NET Edition)!

Each lesson also includes a "Keep Learning" section with additional learning tools.

 What You Need
 To run the code of this course, you can use either: 
 - Azure OpenAI Service - Lessons: "aoai-assignment"
 - Microsoft Foundry Models - Lessons: "githubmodels" (GitHub Models is retiring at the end of July 2026 - use Microsoft Foundry Models instead)
 - OpenAI API - Lessons: "oai-assignment" 
 - Foundry Local - Run models fully offline on your own device, no cloud subscription required
   
- Basic knowledge of Python or TypeScript is helpful - \For absolute beginners check out these Python and TypeScript courses
- A GitHub account to fork this entire repo to your own GitHub account

We have created a Course Setup lesson to help you with setting up your development environment.

Do

Discussions

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON