generative-ai-for-beginners / tl
AGENTS.md121k starsChanged 5 months agoMITView on GitHub
Ang repositoryong ito ay naglalaman ng komprehensibong 21-lesson na kurikulum na nagtuturo ng mga pundasyon ng Generative AI at pagbuo ng aplikasyon. Ang kurso ay idinisenyo para sa mga baguhan at sumasaklaw mula sa mga batayang konsepto hanggang sa paggawa ng mga aplikasyon na handa na para sa produksyon. Pangunahing Teknolohiya: - Python 3.9+ na may mga library: openai, python-dotenv, tiktoken, azure-ai-inference, pandas, numpy, matplotlib - TypeScript/JavaScript na may Node.js at mga library: openai (Azure OpenAI sa pamamagitan ng v1…
- Reads credentials
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about microsoft/generative-ai-for-beginners
- @ponceto91.bsky.social“Bonjour et bon vendredi ! Si vous cherchez des ressources pour vous mettre à l'IA générative, voici …”Bluesky · Mar 8, 2024 · 8 likes
- @github-trending.bsky.social“📦 microsoft / generative-ai-for-beginners ⭐ 71,760 (+94) 🗒 Jupyter Notebook 21 Lessons, Get Started …”Bluesky · Mar 3, 2025 · 5 likes
- @github-trending.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 76,474 (+159) 🗒 Jupyter …”Bluesky · Mar 30, 2025 · 4 likes
- A Hacker News story“Generative AI for Beginners – Version 2”Hacker News · Feb 23, 2024 · 4 points
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 12,932 (+820) 🗒 Jupyter …”Bluesky · Nov 22, 2023 · 4 likes
The biggest 5 of 94 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 94
Talked about on Bluesky, GitHub and Hacker News (94 times).
On Bluesky · 44
- Mar 8, 2024Bonjour et bon vendredi ! Si vous cherchez des ressources pour vous mettre à l'IA générative, voici generative AI for beginners, des cours… — @ponceto91.bsky.social8 likes and reposts
- Mar 3, 2025📦 microsoft / generative-ai-for-beginners ⭐ 71,760 (+94) 🗒 Jupyter Notebook 21 Lessons, Get Started Building with Generative AI 🔗… — @github-trending.bsky.social5 likes and reposts
- Mar 30, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 76,474 (+159) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social4 likes and reposts
- Nov 22, 2023🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 12,932 (+820) 🗒 Jupyter Notebook 12 Lessons, Get Started… — @github-trending.bsky.social4 likes and reposts · 1 reply
- Aug 11, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 94,469 (+151) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social3 likes and reposts
39 more on Bluesky
- Jul 28, 2025今日のGitHubトレンド microsoft/generative-ai-for-beginners このリポジトリは、生成AIの初心者向けに、アプリケーション構築に必要な知識を21のレッスン形式で提供することを目的としています。… — @dailygithubtrends.bsky.social3 likes and reposts
- May 31, 2025📦 microsoft / generative-ai-for-beginners ⭐ 84,213 (+73) 🗒 Jupyter Notebook 21 Lessons, Get Started Building with Generative AI 🔗… — @github-trending.bsky.social3 likes and reposts
- May 7, 2025Generative AI for Beginners: 21 Lessons teaching everything you need to know to start building Generative AI applications (free) -… — @buckwoodymsft.bsky.social3 likes and reposts
- Apr 26, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 79,971 (+278) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social3 likes and reposts
- Mar 7, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 73,493 (+771) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Oct 17, 2025📦 microsoft / generative-ai-for-beginners ⭐ 100,437 (+98) 🗒 Jupyter Notebook 21 Lessons, Get Started Building with Generative AI — @github-trending.bsky.social2 likes and reposts
- Jul 28, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 93,154 (+190) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social2 likes and reposts
- Jan 23, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 66,777 (+251) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social2 likes and reposts
- Aug 21, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 60,739 (+399) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Feb 28, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 24,384 (+177) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Aug 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 113,904 (+104) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- Dec 9, 2025📦 microsoft / generative-ai-for-beginners ⭐ 102,867 (+98) 🗒 Jupyter Notebook 21 Lessons, Get Started Building with Generative AI — @github-trending.bsky.social1 likes and repost
- Sep 8, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 97,052 (+115) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- Jun 29, 2025今日のGitHubトレンド microsoft/generative-ai-for-beginners このリポジトリは、生成AIの初心者向けに、アプリケーション構築を始めるために必要な知識を21のレッスン形式で提供することを目的としています。… — @dailygithubtrends.bsky.social1 likes and repost
- Jun 26, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 85,784 (+187) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- May 8, 2025Found this on the inter-tubes and wanted to share with others who might want to give it a go.... github.com/microsoft... #Learn the… — @mattulm.bsky.social1 likes and repost
- Apr 30, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 81,531 (+429) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- Apr 29, 2025今日のGitHubトレンド microsoft/generative-ai-for-beginners このリポジトリは、生成AIを初めて学ぶ人向けの学習コンテンツを提供することを目的としています。… — @dailygithubtrends.bsky.social1 likes and repost
- Apr 22, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 78,763 (+103) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- Mar 24, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 75,691 (+119) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost
- Mar 24, 2025今日のGitHubトレンド microsoft/generative-ai-for-beginners このリポジトリは、生成AIアプリケーションの構築を始めるために必要な知識を、21のレッスンを通して初学者に教えることを目的としています。 — @dailygithubtrends.bsky.social1 likes and repost
- Mar 6, 2025今日のGitHubトレンド microsoft/generative-ai-for-beginners このリポジトリは、生成AIアプリケーションの構築を始めるために必要な知識を21のレッスンで提供することを目的としています。 初心者向けに、生成AIの基礎を学ぶための教材です。 — @dailygithubtrends.bsky.social1 likes and repost
- Oct 8, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 62,862 (+161) 🗒 Jupyter Notebook 21 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 15, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 47,605 (+146) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 8, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 46,538 (+296) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Mar 31, 2024(1/2) Generative AI for Beginners Course 🚀 The Generative AI for Beginners course by Microsoft provides an introduction to the foundations… — @ramikrispin.bsky.social1 likes and repost · 1 reply
- Jan 4, 2024📦 microsoft / generative-ai-for-beginners ⭐ 21,434 (+69) 🗒 Jupyter Notebook 12 Lessons, Get Started Building with Generative AI 🔗… — @github-trending.bsky.social1 likes and repost
- Nov 3, 2023🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 2,016 (+784) 🗒 Jupyter Notebook 12 Lessons, Get Started… — @github-trending.bsky.social1 likes and repost · 1 reply
- Oct 20, 2026Stage 2: Build with GenAI Generative AI for Beginners, Microsoft (21 lessons, 121k+ GitHub stars) github.com/microsoft/g... Why: prompts,… — @astrodevil1.bsky.social0 likes and reposts · 1 reply
- Jul 1, 20262️⃣ Google — AI Essentials grow.google/ai-essentials/ 3️⃣ DeepLearning.AI — AI for Everyone www.deeplearning.ai/courses/ai-... 4️⃣… — @hrswati.bsky.social0 likes and reposts · 1 reply
- Jul 3, 2024💎 Hidden Gem! 💎 (1000+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 53,862 (+2,390) 🗒 Jupyter Notebook 18 Lessons, Get… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Jun 4, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 44,794 (+114) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Apr 9, 2024Devs: Want to get hands-on with generative AI but not sure where to start? Check out this comprehensive self-guided course broken down into… — @ahrkrak.bsky.social0 likes and reposts · 1 reply
- Apr 5, 2024💎 Hidden Gem! 💎 (1000+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 39,340 (+1,755) 🗒 Jupyter Notebook 18 Lessons, Get… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Mar 31, 2024🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 32,661 (+614) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Mar 21, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 30,009 (+202) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Mar 8, 2024🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 27,683 (+258) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Mar 4, 2024🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 25,612 (+559) 🗒 Jupyter Notebook 18 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Nov 17, 2023🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / generative-ai-for-beginners ⭐ 6,828 (+609) 🗒 Jupyter Notebook 12 Lessons, Get Started… — @github-trending.bsky.social0 likes and reposts · 1 reply
On GitHub · 43
- Nov 30, 2025image directory handling to create language-specific subdirectories — Azure/co-op-translator1 reaction · 2 comments
- Sep 30, 2025👋 Thanks for contributing @bullet-ant! We will review the pull request and get back to you soon. — Mamalimashayekh/gravity182-swap.coffee-update-cross-dex1 reaction
- Sep 30, 2025Markdown emphasis not handled correctly (en→jp) — Azure/co-op-translator1 reaction · 2 comments
- Sep 26, 2025[Markdown] Bold markers not preserved when wrapping links — Azure/co-op-translator1 reaction · 4 comments
- Sep 25, 2025Broken link (en→ja) — Azure/co-op-translator1 reaction · 2 comments
38 more on GitHub
- Sep 24, 2025HTML `<img>` tag src is not updated during translation — Azure/co-op-translator1 reaction · 4 comments
- Sep 17, 2025Untranslated "Note, that there are~" (en→ja) — Azure/co-op-translator1 reaction · 2 comments
- Sep 16, 2025"[Solution]" in the link is not translated (en→ja) — Azure/co-op-translator1 reaction · 1 comment
- Sep 6, 2025Underscore-based italic formatting is not handled correctly (en→ja) — Azure/co-op-translator1 reaction · 2 comments
- Sep 5, 2025"[generative AI]" in the link is not translated (en→ja) — Azure/co-op-translator1 reaction
- May 1, 2025👋 Thanks for contributing @jabari-max! We will review the issue and get back to you soon. — trustwallet/trust-web3-provider1 reaction
- Feb 12, 2025Hallucinations or Fabrications — microsoft/Generative-AI-for-beginners-dotnet1 reaction · 2 comments
- Nov 28, 2026G Shrikaar Sunder (261105B306034) — R40-T007: prompt-template escaping — worked example with checks [05-advanced-prompts] — S-AI-Final-Projects-SMRU/generative-ai-for-beginners0 reactions
- Nov 26, 2026Ashwin Kalra (2601010453) — R40-T035: tensor-shape contract — offline service adapter [09-building-image-applications] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Pratishtha Kaushik (2601010267) — R40-T038: ranked search with stable ties — boundary-case lesson extension [08-building-search-applications] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Pratishtha Kaushik (2601010267) — R40-T036: trainable-parameter accounting — refactor the teaching example [18-fine-tuning] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Kanishk Khamesra (2601010173) — R40-T045: chat-view state — failure and recovery example [07-building-chat-applications] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Kanishk Khamesra (2601010173) — R40-T041: ranked search with stable ties — runnable concept example [08-building-search-applications] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Gouri Varshney (2601010138) — R40-T047: trainable-parameter accounting — worked example with checks [18-fine-tuning] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions
- Nov 26, 2026Chalasani Surya (2601010098) — R40-T055: retrieval with source attribution — offline service adapter [20-mistral] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions · 1 comment
- Nov 26, 2026Chalasani Surya (2601010098) — R40-T054: chat-view state — invariant and state trace [11-integrating-with-function-calling] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions · 1 comment
- Nov 26, 2026Chalasani Surya (2601010098) — R40-T053: token-budget preflight — compare two approaches [19-slm] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions · 1 comment
- Nov 26, 2026Chalasani Surya (2601010098) — R40-T052: chat-view state — boundary-case lesson extension [11-integrating-with-function-calling] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions · 1 comment
- Nov 26, 2026Chalasani Surya (2601010098) — R40-T051: model-manifest selection — runnable concept example [21-meta] — s-and-ai-ru-2/generative-ai-for-beginners0 reactions · 1 comment
- Nov 5, 2026Add the bundle genai-apps: building applications with generative AI — KaProblem/ptf-library0 reactions
- Oct 12, 2026Angular 23 in June 2027 [ modern angular] — sanjeetkumaritoutlook/angular22-nestjs-monorepo0 reactions
- Jul 2, 2026Update repo table — arran4/arran40 reactions
- Jul 1, 2026Update repo table — arran4/arran40 reactions
- Jun 27, 2026Update repo table — arran4/arran40 reactions
- Jun 25, 2026Update repo table — arran4/arran40 reactions
- Jun 25, 2026Update repo table — arran4/arran40 reactions
- Jun 24, 2026Update repo table — arran4/arran40 reactions
- Jun 23, 2026Update repo table — arran4/arran40 reactions
- Jun 22, 2026Update repo table — arran4/arran40 reactions
- Jun 21, 2026Update repo table — arran4/arran40 reactions
- Jun 5, 2026Update repo table — arran4/arran40 reactions
- May 21, 2026Update repo table — arran4/arran40 reactions
- May 19, 2026feat: narrative Correlation Summary in reader_mode — jmservera/SquadScope0 reactions
- Apr 29, 2026Update repo table — arran4/arran40 reactions
- Mar 11, 2026Curso building with Gen AI — MarioCodes/dotnet-ai-experiments0 reactions · 3 comments
- Mar 11, 2026Curso Gen AI 4 Beginners — MarioCodes/dotnet-ai-experiments0 reactions
- Jul 27, 2025Lecture: Resources — Artificial-Intelligence-HSBI-TDU/KI-Vorlesung0 reactions
- May 30, 2025https://github.com/microsoft/generative-ai-for-beginners/ — SreeCharan1234/Alzheimer-MRI-Classification0 reactions
On Hacker News · 7
- Feb 23, 2024Generative AI for Beginners – Version 24 points
- Jul 4, 2024Generative-AI-for-Beginners: 18 Lessons, Get Started Building with Generative AI2 points
- Jun 27, 2024Generative AI for Beginners – Full Video Series2 points
- Mar 5, 2024Generative AI for Beginners – 18 Lessons2 points
- Nov 7, 2023Lessons on everything you need to know to start building Gen AI apps2 points
2 more on Hacker News
- Oct 31, 2023Generative AI for Beginners via Microsoft AI Services2 points · 1 comment
- Mar 7, 2025Generative-AI-for-beginners: 21 Lessons1 point
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
- azure-openai-to-responsesSkill
The file
Files
AGENTS.md
Pangkalahatang-ideya ng Proyekto
Ang repositoryong ito ay naglalaman ng komprehensibong 21-lesson na kurikulum na nagtuturo ng mga pundasyon ng Generative AI at pagbuo ng aplikasyon. Ang kurso ay idinisenyo para sa mga baguhan at sumasaklaw mula sa mga batayang konsepto hanggang sa paggawa ng mga aplikasyon na handa na para sa produksyon.
Pangunahing Teknolohiya:
- Python 3.9+ na may mga library:
openai,python-dotenv,tiktoken,azure-ai-inference,pandas,numpy,matplotlib - TypeScript/JavaScript na may Node.js at mga library:
openai(Azure OpenAI sa pamamagitan ng v1 endpoint + Responses API),@azure-rest/ai-inference(Microsoft Foundry Models) - Azure OpenAI Service, OpenAI API, at Microsoft Foundry Models (Ang GitHub Models ay magreretiro sa katapusan ng Hulyo 2026)
- Jupyter Notebooks para sa interaktibong pag-aaral
- Dev Containers para sa pare-parehong development environment
Estruktura ng Repositoryo:
- 21 naka-number na lesson directories (00-21) na naglalaman ng mga README, halimbawa ng code, at mga asignatura
- Maramihang implementasyon: Python, TypeScript, at kung minsan ay mga halimbawa sa .NET
- Translations directory na may 40+ bersyon ng wika
- Sentralisadong konfigurasyon gamit ang
.envna file (gamitin ang.env.copybilang template)
Mga Utos sa Setup
Paunang Setup ng Repositoryo
# Kopyahin ang repositoryo
git clone https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
# Kopyahin ang template ng kapaligiran
cp .env.copy .env
# I-edit ang .env gamit ang iyong mga API key at mga endpointSetup ng Python Environment
# Gumawa ng virtual na kapaligiran
python3 -m venv venv
# I-activate ang virtual na kapaligiran
# Sa macOS/Linux:
source venv/bin/activate
# Sa Windows:
venv\Scripts\activate
# I-install ang mga dependencies
pip install -r requirements.txtSetup ng Node.js/TypeScript
# I-install ang mga root-level na dependencies (para sa mga tool sa dokumentasyon)
npm install
# Para sa mga indibidwal na halimbawa ng TypeScript ng aralin, pumunta sa partikular na aralin:
cd 06-text-generation-apps/typescript/recipe-app
npm installSetup ng Dev Container (Inirerekomenda)
Kasama sa repositoryo ang .devcontainer na konfigurasyon para sa GitHub Codespaces o VS Code Dev Containers:
- Buksan ang repositoryo sa GitHub Codespaces o VS Code gamit ang Dev Containers extension
- Awtomatikong gagawin ng Dev Container ang mga sumusunod:
- I-install ang mga dependensiya ng Python mula sa
requirements.txt - Patakbuhin ang post-create script (
.devcontainer/post-create.sh) - I-set up ang kernel ng Jupyter
- I-install ang mga dependensiya ng Python mula sa
Daloy ng Pag-develop
Mga Environment Variable
Ang lahat ng mga leksyon na nangangailangan ng access sa API ay gumagamit ng mga environment variable na nakasaad sa .env:
OPENAI_API_KEY- Para sa OpenAI APIAZURE_OPENAI_API_KEY- Para sa Azure OpenAI sa Microsoft Foundry (Ang Azure OpenAI Service ay bahagi na ng Microsoft Foundry ngayon: https://ai.azure.com)AZURE_OPENAI_ENDPOINT- URL ng Azure OpenAI endpoint (Foundry resource endpoint)AZURE_OPENAI_DEPLOYMENT- Pangalan ng chat completion model deployment (default ng kurso:gpt-5-mini)AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT- Pangalan ng embeddings model deployment (default ng kurso:text-embedding-3-small)AZURE_OPENAI_API_VERSION- Bersyon ng API (default:2024-10-21)HUGGING_FACE_API_KEY- Para sa Hugging Face modelsAZURE_INFERENCE_ENDPOINT- Endpoint para sa Microsoft Foundry Models (catalog ng multi-provider models)AZURE_INFERENCE_CREDENTIAL- API key para sa Microsoft Foundry Models (pumapalit sa magreretirongGITHUB_TOKEN)AZURE_INFERENCE_CHAT_MODEL- Isang non-reasoning model (hal.Llama-3.3-70B-Instruct) na ginagamit sa mga halimbawa ngtemperature, dahil ang mga reasoning model ay hindi sumusuporta sa sampling controls
Mga Palatuntunan sa Modelo (mahalaga)
- Default chat model ay
gpt-5-mini- isang kasalukuyan, hindi deprecated na reasoning model. Simula 2026, ang mga lumang temperature-capable na "mini" models (gpt-4o-mini,gpt-4.1-mini) ay pinapawalang-saysay, kaya ang kurikulum ay nagsasaayos sa pamilya ng GPT-5. - Ang mga reasoning models ay tinatanggihan ang
temperatureattop_p, at gumagamit ngmax_output_tokens(Responses API) /max_completion_tokens(chat completions) sa halip namax_tokens. Huwag magdagdag ngtemperature/top_p/max_tokenssa mga sample na tumatawag sagpt-5-mini. - Para ipakita ang
temperature, ang mga sample ay gumagamit ng isang Llama model (Llama-3.3-70B-Instruct) sa pamamagitan ng Microsoft Foundry Models endpoint (AZURE_INFERENCE_CHAT_MODEL). I-steer ang reasoning models gamit ang prompt engineering + reasoning controls sa halip na sampling knobs. - Fine-tuning (lesson 18) ay nananatili sa
gpt-4.1-mini: Ang GPT-5 ay sumusuporta lamang sa reinforcement fine-tuning (RFT), hindi sa supervised fine-tuning (SFT) na ipinapakita doon. - Ang Lessons 20 (Mistral) at 21 (Meta) ay nananatili sa
temperature/max_tokensdahil tinatarget nila ang Mistral/Llama models, na sumusuporta rito.
Pagpapatakbo ng Mga Halimbawa ng Python
# Mag-navigate sa direktoryo ng aralin
cd 06-text-generation-apps/python
# Patakbuhin ang isang Python na script
python aoai-app.pyPagpapatakbo ng Mga Halimbawa ng TypeScript
# Mag-navigate sa direktoryo ng TypeScript app
cd 06-text-generation-apps/typescript/recipe-app
# I-build ang TypeScript code
npm run build
# Patakbuhin ang aplikasyon
npm startPagpapatakbo ng Jupyter Notebooks
# Simulan ang Jupyter sa ugat ng repositoryo
jupyter notebook
# O gamitin ang VS Code na may Jupyter extensionPaggawa sa Iba't ibang Uri ng mga Leksyon
- "Learn" na mga leksyon: Nakatuon sa dokumentasyon ng README.md at mga konsepto
- "Build" na mga leksyon: May kasamang gumaganang mga halimbawa ng code sa Python at TypeScript
- Bawat leksyon ay may README.md na may teorya, walkthroughs ng code, at mga link sa video content
Mga Alituntunin sa Estilo ng Code
Python
- Gamitin ang
python-dotenvpara sa pamamahala ng environment variable - I-import ang
openailibrary para sa API interactions - Gamitin ang
pylintpara sa linting (ang ilang mga halimbawa ay may# pylint: disable=allpara sa pagiging simple) - Sundin ang PEP 8 na panuntunan sa pangalan
- Itago ang mga API kredensyal sa
.envfile, huwag ilagay sa code
TypeScript
- Gamitin ang
dotenvpackage para sa mga environment variable - TypeScript konfigurasyon sa
tsconfig.jsonpara sa bawat app - Gamitin ang
openaipackage para sa Azure OpenAI (ita-target ang client sa/openai/v1/endpoint at tawagan angclient.responses.create); gamitin ang@azure-rest/ai-inferencepara sa Microsoft Foundry Models - Gamitin ang
nodemonpara sa development na may auto-reload - I-build bago patakbuhin:
npm run buildpagkatapos aynpm start
Mga Pangkalahatang Palatuntunan
- Panatilihing simple at pang-edukasyon ang mga halimbawa ng code
- Isama ang mga komento na nagpapaliwanag ng mahahalagang konsepto
- Dapat ang code ng bawat leksyon ay self-contained at maaaring patakbuhin
- Gumamit ng pare-parehong pangalan:
aoai-prefix para sa Azure OpenAI,oai-para sa OpenAI API,githubmodels-para sa Microsoft Foundry Models (legacy na prefix mula sa GitHub Models era)
Mga Alituntunin sa Dokumentasyon
Estilo ng Markdown
- Lahat ng URL ay dapat balutin sa format na
[text](../../url)na walang sobrang espasyo - Ang mga relative na link ay dapat magsimula sa
./o../ - Lahat ng link patungo sa Microsoft domains ay dapat may tracking ID:
?WT.mc_id=academic-105485-koreyst - Iwasan ang mga country-specific na lokal sa URL (iwasan ang
/en-us/) - Ang mga larawan ay nakaimbak sa
./imagesfolder na may mga deskriptibong pangalan - Gamitin ang mga English na karakter, numero, at gitling sa mga pangalan ng file
Suporta sa Pagsasalin
- Sinusuportahan ng repositoryo ang 40+ na wika gamit ang automated GitHub Actions
- Ang mga pagsasalin ay nakaimbak sa
translations/na direktoryo - Huwag magsumite ng mga bahagyang pagsasalin
- Hindi tinatanggap ang mga machine translations
- Ang mga isinalin na larawan ay nakaimbak sa
translated_images/na direktoryo
Pagsusuri at Pagpapatunay
Mga Pre-submission Check
Ang repositoryong ito ay gumagamit ng GitHub Actions para sa pagpapatunay. Bago magsumite ng PRs:
- Suriin ang Markdown Links:
# Sinusuri ng validate-markdown.yml na workflow: # - Mga sirang relative path # - Nawawalang mga tracking ID sa mga path # - Nawawalang mga tracking ID sa mga URL # - Mga URL na may country locale # - Mga sirang panlabas na URL - Manwal na Pagsubok:
- Subukan ang mga Python halimbawa: I-activate ang venv at patakbuhin ang mga script
- Subukan ang mga TypeScript halimbawa:
npm install,npm run build,npm start - Siguraduhing tama ang pagkaka-konfigura ng mga environment variable
- Suriin kung gumagana ang mga API key sa mga halimbawa ng code
- Mga Halimbawa ng Code:
- Siguraduhing ang lahat ng code ay tumatakbo nang walang error
- Subukan gamit ang parehong Azure OpenAI at OpenAI API kung naaangkop
- Siguraduhin na gumagana ang mga halimbawa sa Microsoft Foundry Models kapag suportado
Walang Awtomatikong Pagsubok
Ito ay isang edukasyonal na repositoryo na nakatuon sa mga tutorial at halimbawa. Walang unit test o integration test na ipinatatakbo. Ang pagpapatunay ay pangunahing:
- Manwal na pagsusuri ng mga halimbawa ng code
- GitHub Actions para sa pagpapatunay ng Markdown
- Pagsusuri ng komunidad sa nilalaman ng edukasyon
Mga Alituntunin sa Pull Request
Bago Magsumite
- Subukan ang mga pagbabago sa code sa parehong Python at TypeScript kung naaangkop
- Patakbuhin ang pagpapatunay ng Markdown (awtomatikong pinapalakad sa PR)
- Siguraduhing naroroon ang mga tracking ID sa lahat ng Microsoft URLs
- Suriin na valid ang mga relative na link
- Siguraduhin na tama ang pag-reference ng mga larawan
Format ng Pamagat ng PR
- Gumamit ng mga deskriptibong pamagat:
[Lesson 06] Ayusin ang typo sa halimbawa ng PythonoI-update ang README para sa lesson 08 - Banggitin ang numero ng isyu kung naaangkop:
Ayusin ang #123
Deskripsyon ng PR
- Ipaliwanag kung ano ang binago at bakit
- Magbigay ng link sa mga kaugnay na isyu
- Para sa mga pagbabago sa code, tukuyin kung aling mga halimbawa ang sinubukan
- Para sa mga PR ng pagsasalin, isama ang lahat ng mga file para sa kumpletong pagsasalin
Mga Kinakailangan sa Kontribusyon
- Pumirma sa Microsoft CLA (awtomatiko sa unang PR)
- I-fork ang repositoryo sa iyong account bago gumawa ng mga pagbabago
- Isang PR kada lohikal na pagbabago (huwag paghaluin ang mga hindi magkaugnay na pag-aayos)
- Panatilihing pokus at maliit ang mga PR kapag posible
Karaniwang Daloy ng Trabaho
Pagdaragdag ng Bagong Halimbawa ng Code
- Pumunta sa angkop na lesson directory
- Gumawa ng halimbawa sa
python/otypescript/subdirectory - Sundin ang naming convention:
{provider}-{example-name}.{py|ts|js} - Subukan gamit ang aktwal na API credentials
- Idokumento ang anumang bagong environment variable sa lesson README
Pag-update ng Dokumentasyon
- I-edit ang README.md sa loob ng lesson directory
- Sundin ang mga alituntuning Markdown (tracking IDs, relative links)
- Ang mga pag-update sa pagsasalin ay hinahawakan ng GitHub Actions (huwag manual na i-edit)
- Subukan na lahat ng link ay valid
Paggawa sa Dev Containers
- Kasama sa repositoryo ang
.devcontainer/devcontainer.json - Awtomatikong ini-install ng post-create script ang mga dependensiya ng Python
- Mga extension para sa Python at Jupyter ay naka-pre-configure
- Ang environment ay nakabase sa
mcr.microsoft.com/devcontainers/universal:2.11.2
Pag-deploy at Paglathala
Ito ay isang learning repository - walang proseso ng pag-deploy. Ang kurikulum ay maaaring gamitin sa pamamagitan ng:
- GitHub Repository: Direktang access sa code at dokumentasyon
- GitHub Codespaces: Instant na dev environment na may naka-pre-configure na setup
- Microsoft Learn: Maaaring mai-syndicate ang nilalaman sa opisyal na learning platform
- docsify: Site ng dokumentasyon na gawa mula sa Markdown (tingnan ang
docsifytopdf.jsatpackage.json)
Pagbuo ng Dokumentasyon na Site
# Gumawa ng PDF mula sa dokumentasyon (kung kinakailangan)
npm run convertPag-troubleshoot
Mga Karaniwang Isyu
Mga Error sa Pag-import ng Python:
- Siguraduhin na naka-activate ang virtual environment
- Patakbuhin ang
pip install -r requirements.txt - Suriin na ang bersyon ng Python ay 3.9+
Mga Error sa Build ng TypeScript:
- Patakbuhin ang
npm installsa partikular na app directory - Suriin na compatible ang bersyon ng Node.js
- Linisin ang
node_modulesat i-reinstall kung kinakailangan
Mga Error sa API Authentication:
- Siguraduhing umiiral ang
.envfile at may tamang mga halaga - Suriin na valid ang mga API key at hindi expired
- Siguraduhing tama ang mga endpoint URL para sa iyong rehiyon
Nawawalang mga Environment Variable:
- Kopyahin ang
.env.copybilang.env - Punan ang lahat ng kinakailangang mga halaga para sa leksyon na iyong ginagawang
- I-restart ang iyong aplikasyon pagkatapos i-update ang
.env
Karagdagang Mga Mapagkukunan
- Course Setup Guide
- Contributing Guidelines
- Code of Conduct
- Security Policy
- Azure AI Discord
- Collection of Advanced Code Samples
Mga Tiyak na Tala sa Proyekto
- Ito ay isang edukasyonal na repositoryo na nakatuon sa pag-aaral, hindi sa code para sa produksyon
- Ang mga halimbawa ay sadyang simple at nakatuon sa pagtuturo ng mga konsepto
- Ang kalidad ng code ay balanseng may kalinawan para sa edukasyon
- Bawat leksyon ay self-contained at maaaring tapusin nang independente
- Sinusuportahan ng repositoryo ang maramihang API provider: Azure OpenAI, OpenAI, Microsoft Foundry Models, at offline providers tulad ng Foundry Local at Ollama
- Multilingual ang nilalaman na may automated na workflows sa pagsasalin
- Aktibo ang komunidad sa Discord para sa mga tanong at suporta
<!-- CO-OP TRANSLATOR DISCLAIMER START -->Pagtatanggi: Ang dokumentong ito ay isinalin gamit ang serbisyo ng AI translation na Co-op Translator. Bagama't nagsusumikap kami para sa katumpakan, pakatandaan na ang awtomatikong pagsasalin ay maaaring maglaman ng mga pagkakamali o hindi pagkakatugma. Ang orihinal na dokumento sa orihinal nitong wika ang dapat ituring na pangunahing sanggunian. Para sa mahahalagang impormasyon, inirerekomenda ang propesyonal na pagsasalin ng tao. Hindi kami mananagot sa anumang maling pagkakaintindi o maling interpretasyon na nagmula sa paggamit ng pagsasaling ito.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

