微软发布《生成式 AI 初学者教程》V3 版:21 节课掌握 Generative AI 应用开发
英文标题:📦 microsoft/generative-ai-for-beginners
微软云技术布道团队正式推出《Generative AI for Beginners》(生成式 AI 初学者教程)第 3 版,包含 21 节系统化的全流程实战课程。课程采用“概念学习(Learn)”与“代码构建(Build)”双主线,提供基于 Python 与 TypeScript 的完整示例,并全面兼容 OpenAI API 与 Azure OpenAI 服务。此外,项目支持超过 50 种语言本地化并配备 .NET 专属分支,为开发者快速上手生成式 AI 与 Agent 应用开发提供了权威且零门槛的开源实践路径。
337 B
581.3 KB
中文
21 节课助你全面掌握构建生成式 AI(Generative AI)应用所需的全部知识
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
更倾向于在本地克隆代码库?
本代码库包含 50 多种语言的翻译,这显著增加了下载体积。如果希望在克隆时不下载翻译内容,请使用稀疏检出(Sparse Checkout):
Bash / macOS / Linux:
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):
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"这将以极快的下载速度为你提供完成本课程所需的全部内容。
生成式 AI 初学者教程(第 3 版)- 课程指南
通过微软云技术布道团队(Microsoft Cloud Advocates)精心设计的 21 节全面课程,学习构建生成式 AI(Generative AI)应用的基础知识。
本课程共有 21 节课。每节课都探讨一个独立主题,你可以根据自己的喜好从任意章节开始学习!
课程分为两类:解释生成式 AI 概念的“理论学习(Learn)”课,以及既讲解概念又尽量同时提供 Python 与 TypeScript 代码示例的“动手构建(Build)”课。
对于 .NET 开发者,欢迎访问 生成式 AI 初学者教程(.NET 版本)!
每节课还包含一个提供额外学习工具的“进阶学习(Keep Learning)”版块。
要运行本课程的代码,你可以使用:
我们专门准备了 环境搭建教程,协助你配置开发环境。
别忘了为 本仓库点亮 Star(🌟),以便日后更轻松地找到它。
如果你需要更进阶的代码示例,欢迎查看我们涵盖 Python 与 TypeScript 的 生成式 AI 代码示例精选集。
🗣️ 结识其他学员,获取技术支持
加入我们的 官方 Microsoft Foundry Discord 社区,结识其他共同学习本课程的开发者、拓展人脉并获取技术支持。
在 GitHub 上的 Microsoft Foundry 开发者论坛 提问或分享产品反馈。
访问 Microsoft for Startups,了解如何立即可用 Azure 额度开启构建。
你有改进建议,或者发现了拼写或代码错误?欢迎 提交 Issue 或 创建 Pull Request。
- 针对主题的简短视频导览
- 位于 README 中的文字教程
- 支持 Azure OpenAI 和 OpenAI API 的 Python 与 TypeScript 代码示例
- 用于继续深入学习的延伸资源链接
特别鸣谢 John Aziz 创建了所有的 GitHub Actions 与工作流;
鸣谢 Bernhard Merkle 对每节课做出的关键贡献,极大提升了学习体验与代码质量。
我们的团队还制作了其他系列课程!欢迎查看:
Azure / Edge / MCP / Agents
[ | 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:
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):
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.
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.
To run the code of this course, you can use either:
We have created a Course Setup lesson to help you with setting up your development environment.
Don't forget to star (🌟) this repo to find it easier later.
If you are looking for more advanced code samples, check out our collection of Generative AI Code Samples in both Python and TypeScript.
🗣️ Meet Other Learners, Get Support
Join our official Microsoft Foundry Discord server to meet and network with other learners taking this course and get support.
Ask questions or share product feedback in our Microsoft Foundry Developer Forum on Github.
Visit Microsoft for Startups to find out how to get started building with Azure credits today.
Do you have suggestions or found spelling or code errors? Raise an issue or Create a pull request
- A short video introduction to the topic
- A written lesson located in the README
- Python and TypeScript code samples supporting Azure OpenAI and OpenAI API
- Links to extra resources to continue your learning
Special thanks to John Aziz for creating all of the GitHub Actions and workflows
Bernhard Merkle for making key contributions to each lesson to improve the learner and code experience.
Our team produces other courses! Check out:
Azure / Edge / MCP / Agents
If you get stuck or have any questions about building AI apps. Join fellow learners and experienced developers in discussions about MCP. It's a supportive community where questions are welcome and knowledge is shared freely.
If you have product feedback or errors while building visit: