大模型底座 · 中文选型解读

generative-ai-for-beginners

已解读GitHubMITJupyter Notebook

这是微软推出的免费生成式AI入门系列课程,包含21节概念讲解与实操课,帮助学习者掌握生成式AI应用开发的基础能力。

118.9kstar4 天前更新维护状态MIT · 可评估商用商用提醒
在 GitHub 查看官方项目
适合解决作为问答、生成和智能体应用的基础模型
更适合正在比较模型能力、成本与部署方式的团队
投入判断上手门槛:较高。需要评测真实业务数据与许可边界
一分钟看懂

这个项目值得继续研究吗?

AI 依据上游资料解读 · 2026/8/29

这是微软推出的免费生成式AI入门系列课程,包含21节概念讲解与实操课,帮助学习者掌握生成式AI应用开发的基础能力。

解决什么问题
当前很多企业业务人员、入门开发者想落地生成式AI应用,却缺乏体系化兼顾概念理解与实操指导的入门资料,零散学习效率低,也无从掌握模型选型、代码开发的实用方法。
适合什么团队
适合想了解生成式AI基础的企业业务负责人、入门级开发人员,以及需要搭建内部AI入门培训体系的企业培训团队使用。
使用前注意
运行课程代码需持有Azure OpenAI、OpenAI API或Microsoft Foundry Models的调用权限,也可选择离线工具Foundry Local;原GitHub Models将于2026年7月底退役;默认克隆包体积较大,可使用稀疏检出精简下载。

本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。

项目导读

从官方资料看清能力、部署与采用边界

AI 翻译整理 · 保留官方来源

以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。

Generative AI For Beginners

项目定位

这是微软云倡导者团队打造的公开免费生成式AI入门课程,项目至今仍在持续更新,面向无相关基础的学习者搭建了体系化的学习路径,兼顾概念认知与实操能力培养,帮助学习者快速掌握生成式AI应用开发的核心基础知识。

核心内容框架

课程共包含21节独立课程,你可以根据自身需求选择任意节点开始学习,课程分为两类:

  1. Learn类课程:专注于概念讲解,覆盖生成式AI定义、LLM(大语言模型,可理解并生成人类自然语言的AI模型)工作原理、不同LLM选型方法等核心认知内容,不需要编程基础即可学习。
  2. Build类课程:在概念讲解的基础上配套可运行的代码示例,尽可能同时提供Python和TypeScript两种语言的实现,方便不同技术栈的学习者实操。

此外.NET开发者可以使用单独的.NET版本课程仓库;每节课程都配有「Keep Learning」板块,提供额外的拓展学习资源,帮助你深化对对应主题的理解。

典型使用方式

你可以根据自身需求选择学习路径:

  • 如果你是企业业务负责人,不需要掌握开发能力,可以优先学习所有Learn类课程,快速建立对生成式AI能力边界、应用场景、模型选型逻辑的认知,为业务侧的AI落地决策提供参考。
  • 如果你是入门开发人员,可以按顺序完成所有课程的学习,每节课程都配有介绍视频、文字讲解、可运行代码样例,学完所有内容即可具备基础的生成式AI应用开发能力。
  • 完成基础学习后如果需要进阶,可以使用微软官方提供的生成式AI代码样例库,获取更多复杂场景的实现参考;也可以加入官方微软Foundry Discord社区,和其他学习者交流、获取支持。

运行与配置要求

纯概念学习不需要额外环境配置,如果需要运行课程中的代码样例,需要满足以下要求:

  1. 模型调用权限:可选择四种调用源:Azure OpenAI Service、Microsoft Foundry Models、OpenAI API、Foundry Local(可在本地设备完全离线运行模型,无需云订阅);注意原GitHub Models将于2026年7月底正式退役,请使用Microsoft Foundry Models替代。
  2. 基础能力:掌握基础的Python或TypeScript语法即可,完全无编程基础的学习者可以先学习官方提供的Python、TypeScript入门课程。
  3. 环境配置:课程提供专门的00号环境配置课,引导你完成开发环境的搭建,你只需要提前准备一个GitHub账号即可。

本地化支持与下载说明

课程通过自动化流程支持50余种语言的翻译,包含简体中文、繁体中文(港澳台版本)等,你可以直接选择对应语言的版本学习,内容和原版保持同步更新。

如果需要将课程克隆到本地学习,默认克隆包包含所有语言的翻译文件,体积较大,你可以使用稀疏检出的方式仅下载主课程内容,提升下载速度:

  • 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'
  • 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"

许可证与采用建议

本项目使用MIT许可证,你可以免费将其用于个人学习、企业内部培训、二次修改分发等场景,无额外授权限制。

对于企业而言,这套课程内容体系成熟、多语言支持完善,非常适合作为内部生成式AI入门培训的统一教材,降低内部培训的内容开发成本;业务团队也可以组织统一学习,提升全员对生成式AI的认知水平,挖掘更多业务落地场景。

可核对的事实层

官方资料与来源

查看来源 →
  • ai
  • azure
  • chatgpt
  • dall-e
  • generative-ai
  • generativeai
  • gpt
  • language-model
  • llms
  • microsoft-for-beginners
  • openai
  • prompt-engineering
默认分支main
关注仓库1.0k
复刻次数62.6k
开放议题28
近期更新2026/8/28
仓库状态未标记归档
上游部署线索
## 🌱 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)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)!

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

该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。

核对上游原始说明节选

21 Lessons, Get Started Building with Generative AI

Generative AI For Beginners

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

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

🌐 Multi-Language Support

Supported via GitHub Action (Automated & Always Up-to-Date)

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' '!translatedimages'
```
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" "!translatedimages"
```
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.

Don't forget to star (🌟) this repo to find it easier later.

🧠 Ready to Deploy?

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.

🚀 Building a Startup?

Visit Microsoft for Startups to find out how to get started building with Azure credits today.

🙏 Want to help?

Do you have suggestions or found spelling or code errors? Raise an issue or Create a pull request

📂 Each lesson includes:

  • 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

🗃️ Lessons

| # | Lesson Link | Description | Video | Extra Learning | | --- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | 00 | Course Setup | Learn: How to Setup Your Development Environment | Video Coming Soon | Learn More | | 01 | Introduction to Generative AI and LLMs | Learn: Understanding what Generative AI is and how Large Language Models (LLMs) work. | Video | Learn More | | 02 | Exploring and comparing different LLMs | Learn: How to select the right model for your use case | Video | [Learn More](https://aka.ms/gena

上游文档较长,此处为节选。完整内容见官方项目。