
### 21 課程教你所有你需要知道的知識,開始打造生成式 AI 應用程式
[](https://github.com/microsoft/Generative-AI-For-Beginners/blob/master/LICENSE?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/graphs/contributors/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/issues/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/pulls/?WT.mc_id=academic-105485-koreyst)
[](http://makeapullrequest.com?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/watchers/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/network/?WT.mc_id=academic-105485-koreyst)
[](https://GitHub.com/microsoft/Generative-AI-For-Beginners/stargazers/?WT.mc_id=academic-105485-koreyst)
[](https://discord.gg/nTYy5BXMWG)
### 🌐 多語言支援
#### 透過 GitHub Action 支持(自動且永遠保持最新)
[阿拉伯語](../ar/README.md) | [孟加拉語](../bn/README.md) | [保加利亞語](../bg/README.md) | [緬甸語 (缅甸)](../my/README.md) | [中文 (簡體)](../zh-CN/README.md) | [中文 (繁體,香港)](../zh-HK/README.md) | [中文 (繁體,澳門)](../zh-MO/README.md) | [中文 (繁體,台灣)](./README.md) | [克羅埃西亞語](../hr/README.md) | [捷克語](../cs/README.md) | [丹麥語](../da/README.md) | [荷蘭語](../nl/README.md) | [愛沙尼亞語](../et/README.md) | [芬蘭語](../fi/README.md) | [法語](../fr/README.md) | [德語](../de/README.md) | [希臘語](../el/README.md) | [希伯來語](../he/README.md) | [印地語](../hi/README.md) | [匈牙利語](../hu/README.md) | [印尼語](../id/README.md) | [義大利語](../it/README.md) | [日語](../ja/README.md) | [卡納達語](../kn/README.md) | [高棉語](../km/README.md) | [韓語](../ko/README.md) | [立陶宛語](../lt/README.md) | [馬來語](../ms/README.md) | [馬拉雅拉姆語](../ml/README.md) | [馬拉地語](../mr/README.md) | [尼泊爾語](../ne/README.md) | [奈及利亞皮欽語](../pcm/README.md) | [挪威語](../no/README.md) | [波斯語 (法爾西語)](../fa/README.md) | [波蘭語](../pl/README.md) | [葡萄牙語 (巴西)](../pt-BR/README.md) | [葡萄牙語 (葡萄牙)](../pt-PT/README.md) | [旁遮普語 (古魯穆奇體)](../pa/README.md) | [羅馬尼亞語](../ro/README.md) | [俄語](../ru/README.md) | [塞爾維亞語 (西里爾字母)](../sr/README.md) | [斯洛伐克語](../sk/README.md) | [斯洛維尼亞語](../sl/README.md) | [西班牙語](../es/README.md) | [斯瓦希里語](../sw/README.md) | [瑞典語](../sv/README.md) | [他加祿語 (菲律賓語)](../tl/README.md) | [泰米爾語](../ta/README.md) | [泰盧固語](../te/README.md) | [泰語](../th/README.md) | [土耳其語](../tr/README.md) | [烏克蘭語](../uk/README.md) | [烏爾都語](../ur/README.md) | [越南語](../vi/README.md)
> **想要本地複製嗎?**
>
> 此程式碼庫包含 50 多種語言翻譯,會顯著增加下載大小。若要複製時不包含翻譯,請使用稀疏簽出:
>
> **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"
> ```
>
> 這將提供您完成課程所需的一切,並且下載速度更快。
# 初學者生成式 AI(版本 3)- 課程
由微軟雲端倡導者帶來的 21 課程綜合課程,學習構建生成式 AI 應用的基礎。
## 🌱 開始入門
此課程共有 21 堂課。每堂課涵蓋自己的主題,您可以從任何您喜歡的地方開始!
課程標記為「Learn」課程講解生成式 AI 概念,或「Build」課程同時說明概念與 Python 和 TypeScript 的代碼示例(如果可能)。
若您是 .NET 開發者,請查看 [初學者生成式 AI(.NET 版)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)!
每堂課還包含「Keep Learning」區塊,提供額外學習工具。
## 您需要準備什麼
### 執行本課程代碼,您可以使用:
- [Azure OpenAI 服務](https://aka.ms/genai-beginners/azure-open-ai?WT.mc_id=academic-105485-koreyst) - **課程:** "aoai-assignment"
- [Microsoft Foundry 模型](https://ai.azure.com/catalog/models?WT.mc_id=academic-105485-koreyst) - **課程:** "githubmodels"(GitHub Models 將於 2026 年 7 月底退休,請改用 Microsoft Foundry 模型)
- [OpenAI API](https://aka.ms/genai-beginners/open-ai?WT.mc_id=academic-105485-koreyst) - **課程:** "oai-assignment"
- [Foundry Local](https://foundrylocal.ai?WT.mc_id=academic-105485-koreyst) - 在您的設備上完全離線運行模型,無需雲端訂閱
- 具備 Python 或 TypeScript 的基本知識會有幫助 — *初學者請參考這些 [Python](https://aka.ms/genai-beginners/python?WT.mc_id=academic-105485-koreyst) 和 [TypeScript](https://aka.ms/genai-beginners/typescript?WT.mc_id=academic-105485-koreyst) 課程
- 需要一個 GitHub 帳戶來[複製此整個倉庫](https://aka.ms/genai-beginners/github?WT.mc_id=academic-105485-koreyst)到您自己的 GitHub 帳戶
我們創建了 **[課程設置](./00-course-setup/README.md?WT.mc_id=academic-105485-koreyst)** 課程,幫助您設置開發環境。
別忘了點 [⭐ 收藏此倉庫](https://docs.github.com/en/get-started/exploring-projects-on-github/saving-repositories-with-stars?WT.mc_id=academic-105485-koreyst),方便之後找到。
## 🧠 準備好部署了嗎?
如果您在尋找更進階的代碼範例,請查看我們同時包含 **Python** 和 **TypeScript** 的 [生成式 AI 代碼範例合集](https://aka.ms/genai-beg-code?WT.mc_id=academic-105485-koreyst)。
## 🗣️ 交流學習、獲取支援
加入我們的 [官方 Microsoft Foundry Discord 伺服器](https://aka.ms/genai-discord?WT.mc_id=academic-105485-koreyst),與其他學習此課程的人交流並獲得支援。
在我們的 [Microsoft Foundry 開發者論壇](https://aka.ms/azureaifoundry/forum)(GitHub)提出問題或分享產品回饋。
## 🚀 想創業?
請造訪 [Microsoft for Startups](https://www.microsoft.com/startups) 了解如何立即開始使用 Azure 點數構建您的專案。
## 🙏 想幫忙?
您有任何建議或發現拼寫或程式碼錯誤嗎?[提出問題](https://github.com/microsoft/generative-ai-for-beginners/issues?WT.mc_id=academic-105485-koreyst)或[建立拉取請求](https://github.com/microsoft/generative-ai-for-beginners/pulls?WT.mc_id=academic-105485-koreyst)
## 📂 每堂課包含:
- 一段主題簡短影片介紹
- 位於 README 的書面課程內容
- 支援 Azure OpenAI 和 OpenAI API 的 Python 與 TypeScript 程式碼範例
- 連結至額外資源,讓您持續學習
## 🗃️ 課程列表
| # | 課程連結 | 說明 | 影片 | 額外學習 |
| --- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| 00 | [課程設置](./00-course-setup/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 如何設置您的開發環境 | 影片即將推出 | [了解更多](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 01 | [生成式 AI 與大型語言模型介紹](./01-introduction-to-genai/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 了解什麼是生成式 AI 以及大型語言模型(LLMs)如何運作 | [影片](https://aka.ms/gen-ai-lesson-1-gh?WT.mc_id=academic-105485-koreyst) | [了解更多](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 02 | [探索與比較不同的 LLM](./02-exploring-and-comparing-different-llms/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 如何為您的使用案例選擇合適的模型 | [影片](https://aka.ms/gen-ai-lesson2-gh?WT.mc_id=academic-105485-koreyst) | [了解更多](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 03 | [負責任地使用生成式 AI](./03-using-generative-ai-responsibly/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 如何負責任地建置生成式 AI 應用 | [影片](https://aka.ms/gen-ai-lesson3-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 04 | [理解提示工程基礎](./04-prompt-engineering-fundamentals/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 實作提示工程最佳實踐 | [影片](https://aka.ms/gen-ai-lesson4-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 05 | [創建進階提示](./05-advanced-prompts/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 如何應用提示工程技術以提升提示的效果 | [影片](https://aka.ms/gen-ai-lesson5-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 06 | [建立文本生成應用程式](./06-text-generation-apps/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用 Azure OpenAI / OpenAI API 建立一個文本生成應用程式 | [影片](https://aka.ms/gen-ai-lesson6-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 07 | [建立聊天應用程式](./07-building-chat-applications/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 有效建立與整合聊天應用的技術 | [影片](https://aka.ms/gen-ai-lessons7-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 08 | [建立搜尋向量資料庫應用程式](./08-building-search-applications/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用 Embeddings 搜尋資料的搜尋應用程式 | [影片](https://aka.ms/gen-ai-lesson8-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 09 | [建立圖像生成應用程式](./09-building-image-applications/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 一個圖像生成應用程式 | [影片](https://aka.ms/gen-ai-lesson9-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 10 | [建立低程式碼 AI 應用程式](./10-building-low-code-ai-applications/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用低程式碼工具建立生成式 AI 應用 | [影片](https://aka.ms/gen-ai-lesson10-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 11 | [與函數呼叫整合外部應用程式](./11-integrating-with-function-calling/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 什麼是函數呼叫及其在應用程式中的使用案例 | [影片](https://aka.ms/gen-ai-lesson11-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 12 | [為 AI 應用程式設計使用者體驗](./12-designing-ux-for-ai-applications/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 在開發生成式 AI 應用時如何應用 UX 設計原則 | [影片](https://aka.ms/gen-ai-lesson12-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 13 | [保護您的生成式 AI 應用程式](./13-securing-ai-applications/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** AI 系統的威脅與風險及保護這些系統的方法 | [影片](https://aka.ms/gen-ai-lesson13-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 14 | [生成式 AI 應用程式生命週期](./14-the-generative-ai-application-lifecycle/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 管理大型語言模型生命週期與 LLMOps 的工具與指標 | [影片](https://aka.ms/gen-ai-lesson14-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 15 | [檢索強化生成(RAG)與向量資料庫](./15-rag-and-vector-databases/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用 RAG 框架從向量資料庫中檢索嵌入的應用程式 | [影片](https://aka.ms/gen-ai-lesson15-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 16 | [開源模型與 Hugging Face](./16-open-source-models/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用 Hugging Face 上的開源模型的應用程式 | [影片](https://aka.ms/gen-ai-lesson16-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 17 | [AI 代理](./17-ai-agents/README.md?WT.mc_id=academic-105485-koreyst) | **建立:** 使用 AI 代理框架的應用程式 | [影片](https://aka.ms/gen-ai-lesson17-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 18 | [微調大型語言模型](./18-fine-tuning/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 微調大型語言模型的內容、原因及方法 | [影片](https://aka.ms/gen-ai-lesson18-gh?WT.mc_id=academic-105485-koreyst) | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 19 | [使用小型語言模型構建](./19-slm/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** 使用小型語言模型構建的優點 | 影片即將推出 | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 20 | [使用 Mistral 模型構建](./20-mistral/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** Mistral 家族模型的特點與差異 | 影片即將推出 | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
| 21 | [使用 Meta 模型構建](./21-meta/README.md?WT.mc_id=academic-105485-koreyst) | **學習:** Meta 家族模型的特點與差異 | 影片即將推出 | [進一步了解](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) |
### 🌟 特別感謝
特別感謝 [**John Aziz**](https://www.linkedin.com/in/john0isaac/) 為所有 GitHub Actions 和工作流程的建立
[**Bernhard Merkle**](https://www.linkedin.com/in/bernhard-merkle-738b73/) 對每課程做出重要貢獻,提升學習者與程式碼體驗。
## 🎒 其他課程
我們團隊還製作了其他課程!請參考:
### LangChain
[](https://aka.ms/langchain4j-for-beginners)
[](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin)
[](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin)
---
### Azure / Edge / MCP / 代理
[](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst)
---
### 生成式 AI 系列
[](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst)
[-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)
[-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst)
[-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst)
---
### 核心學習
[](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung)
[](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst)
[](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst)
---
### Copilot 系列
[](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst)
[](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst)
## 尋求幫助
如果您遇到瓶頸或有任何有關構建 AI 應用的問題,歡迎加入其他學習者及經驗豐富開發者的討論社群。這是一個支持性強的社區,問題受到歡迎且知識自由分享。
[](https://discord.gg/nTYy5BXMWG)
若您在開發過程中有產品反饋或錯誤,請造訪:
[](https://aka.ms/foundry/forum)
---
**免責聲明**:
此文件已使用 AI 翻譯服務 [Co-op Translator](https://github.com/Azure/co-op-translator) 進行翻譯。雖然我們努力追求準確性,但請注意自動翻譯可能包含錯誤或不準確之處。原始文件的母語版本應視為權威來源。對於關鍵資訊,建議採用專業人工翻譯。我們不對因使用此翻譯所產生的任何誤解或誤譯承擔責任。