generative-ai-for-beginners / pt-BR
AGENTS.md121k starsChanged 5 months agoMITView on GitHub
Este repositório contém um currículo abrangente de 21 aulas ensinando fundamentos de IA Generativa e desenvolvimento de aplicações. O curso é projetado para iniciantes e cobre desde conceitos básicos até a construção de aplicações prontas para produção. Principais Tecnologias: - Python 3.9+ com bibliotecas: openai, python-dotenv, tiktoken, azure-ai-inference, pandas, numpy, matplotlib - TypeScript/JavaScript com Node.js e bibliotecas: openai (Azure OpenAI via o endpoint v1 + API Responses), @azure-rest/ai-inference (Modelos Microsoft Foundry) - Azure OpenAI Service, OpenAI API e Microsoft Foundry…
- Reads credentials
- Installs packages
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
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
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
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-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/tl/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
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 138
Use python-dotenv para gerenciamento de variáveis de ambiente
- Very specific: line 140
Use pylint para linting (alguns exemplos incluem # pylint: disable=all para simplicidade)
- Very specific: line 146
Use o pacote dotenv para variáveis de ambiente
- Very specific: line 148
Use o pacote openai para Azure OpenAI (apontar cliente para endpoint /openai/v1/ e chamar client.responses.create).
- Very specific: line 149
Use nodemon para desenvolvimento com recarregamento automático
- Very specific: line 157
Use nomenclatura consistente: prefixo aoai- para Azure OpenAI, oai- para OpenAI API, githubmodels- para Microsoft Foundry Models (prefixo …
- Distinctive: line 168
Use caracteres ingleses, números e traços nos nomes dos arquivos
- Very specific: line 224
Use títulos descritivos: [Lesson 06] Corrige erro de digitação no exemplo Python ou Atualiza README para aula 08
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Visão Geral do Projeto
Este repositório contém um currículo abrangente de 21 aulas ensinando fundamentos de IA Generativa e desenvolvimento de aplicações. O curso é projetado para iniciantes e cobre desde conceitos básicos até a construção de aplicações prontas para produção.
Principais Tecnologias:
- Python 3.9+ com bibliotecas:
openai,python-dotenv,tiktoken,azure-ai-inference,pandas,numpy,matplotlib - TypeScript/JavaScript com Node.js e bibliotecas:
openai(Azure OpenAI via o endpoint v1 + API Responses),@azure-rest/ai-inference(Modelos Microsoft Foundry) - Azure OpenAI Service, OpenAI API e Microsoft Foundry Models (GitHub Models encerrando em julho de 2026)
- Jupyter Notebooks para aprendizado interativo
- Dev Containers para ambiente de desenvolvimento consistente
Estrutura do Repositório:
- 21 diretórios numerados de aulas (00-21) contendo READMEs, exemplos de código e tarefas
- Múltiplas implementações: exemplos em Python, TypeScript e às vezes .NET
- Diretório de traduções com versões em mais de 40 idiomas
- Configuração centralizada via arquivo
.env(use.env.copycomo modelo)
Comandos de Configuração
Configuração Inicial do Repositório
# Clone o repositório
git clone https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
# Copie o template do ambiente
cp .env.copy .env
# Edite o .env com suas chaves API e endpointsConfiguração do Ambiente Python
# Criar ambiente virtual
python3 -m venv venv
# Ativar ambiente virtual
# No macOS/Linux:
source venv/bin/activate
# No Windows:
venv\Scripts\activate
# Instalar dependências
pip install -r requirements.txtConfiguração Node.js/TypeScript
# Instale as dependências no nível root (para ferramentas de documentação)
npm install
# Para exemplos de TypeScript de lições individuais, navegue até a lição específica:
cd 06-text-generation-apps/typescript/recipe-app
npm installConfiguração do Dev Container (Recomendado)
O repositório inclui uma configuração .devcontainer para GitHub Codespaces ou VS Code Dev Containers:
- Abra o repositório no GitHub Codespaces ou no VS Code com a extensão Dev Containers
- O Dev Container automaticamente:
- Instala dependências Python do
requirements.txt - Executa o script pós-criação (
.devcontainer/post-create.sh) - Configura o kernel do Jupyter
- Instala dependências Python do
Fluxo de Desenvolvimento
Variáveis de Ambiente
Todas as aulas que requerem acesso à API usam variáveis de ambiente definidas no .env:
OPENAI_API_KEY- Para OpenAI APIAZURE_OPENAI_API_KEY- Para Azure OpenAI no Microsoft Foundry (Azure OpenAI Service agora faz parte do Microsoft Foundry: https://ai.azure.com)AZURE_OPENAI_ENDPOINT- URL do endpoint Azure OpenAI (endpoint do recurso Foundry)AZURE_OPENAI_DEPLOYMENT- Nome do deployment do modelo de chat completion (padrão do curso:gpt-5-mini)AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT- Nome do deployment do modelo de embeddings (padrão do curso:text-embedding-3-small)AZURE_OPENAI_API_VERSION- Versão da API (padrão:2024-10-21)HUGGING_FACE_API_KEY- Para modelos Hugging FaceAZURE_INFERENCE_ENDPOINT- Endpoint dos Microsoft Foundry Models (catálogo de modelos multi-provedor)AZURE_INFERENCE_CREDENTIAL- Chave API Microsoft Foundry Models (substitui oGITHUB_TOKENque será descontinuado)AZURE_INFERENCE_CHAT_MODEL- Modelo sem capacidades de raciocínio (ex:Llama-3.3-70B-Instruct) usado nos exemplos detemperature, pois modelos de raciocínio não suportam controle de amostragem
Convenções de Modelos (importante)
- Modelo de chat padrão é
gpt-5-mini- um modelo atual e não depreciado de raciocínio. A partir de 2026, os modelos antigos "mini" que suportam temperatura (gpt-4o-mini,gpt-4.1-mini) estão depreciando, então o currículo padroniza na família GPT-5. - Modelos de raciocínio rejeitam
temperatureetop_p, e usammax_output_tokens(Responses API) /max_completion_tokens(chat completions) ao invés demax_tokens. Não adicionetemperature/top_p/max_tokensem exemplos que chamem ogpt-5-mini. - Para demonstrar
temperature, os exemplos usam um modelo Llama (Llama-3.3-70B-Instruct) via o endpoint Microsoft Foundry Models (AZURE_INFERENCE_CHAT_MODEL). Controle modelos de raciocínio com engenharia de prompt + controles de raciocínio em vez de botões de amostragem. - Fine-tuning (aula 18) mantém o
gpt-4.1-mini: GPT-5 só suporta fine-tuning por reforço (RFT), não o fine-tuning supervisionado (SFT) mostrado nessa aula. - As aulas 20 (Mistral) e 21 (Meta) mantêm o uso de
temperature/max_tokenspois são focadas em modelos Mistral/Llama que os suportam.
Executando Exemplos em Python
# Navegue até o diretório da lição
cd 06-text-generation-apps/python
# Execute um script Python
python aoai-app.pyExecutando Exemplos em TypeScript
# Navegue até o diretório do aplicativo TypeScript
cd 06-text-generation-apps/typescript/recipe-app
# Compile o código TypeScript
npm run build
# Execute o aplicativo
npm startExecutando Jupyter Notebooks
# Inicie o Jupyter na raiz do repositório
jupyter notebook
# Ou use o VS Code com a extensão JupyterTrabalhando com Diferentes Tipos de Aula
- Aulas "Aprender": Foco na documentação README.md e conceitos
- Aulas "Construir": Incluem exemplos funcionais em Python e TypeScript
- Cada aula possui README.md com teoria, explicações de código e links para conteúdo em vídeo
Diretrizes de Estilo de Código
Python
- Use
python-dotenvpara gerenciamento de variáveis de ambiente - Importe a biblioteca
openaipara interações com a API - Use
pylintpara linting (alguns exemplos incluem# pylint: disable=allpara simplicidade) - Siga as convenções de nomenclatura PEP 8
- Guarde credenciais da API no arquivo
.env, nunca no código
TypeScript
- Use o pacote
dotenvpara variáveis de ambiente - Configuração TypeScript em
tsconfig.jsonpara cada app - Use o pacote
openaipara Azure OpenAI (apontar cliente para endpoint/openai/v1/e chamarclient.responses.create); use@azure-rest/ai-inferencepara Microsoft Foundry Models - Use
nodemonpara desenvolvimento com recarregamento automático - Compile antes de rodar:
npm run builde logo apósnpm start
Convenções Gerais
- Mantenha exemplos simples e educacionais
- Inclua comentários explicando conceitos-chave
- Código de cada aula deve ser autocontido e executável
- Use nomenclatura consistente: prefixo
aoai-para Azure OpenAI,oai-para OpenAI API,githubmodels-para Microsoft Foundry Models (prefixo legado do tempo GitHub Models)
Diretrizes de Documentação
Estilo Markdown
- Todas as URLs devem estar no formato
[texto](../../url)sem espaços extras - Links relativos devem começar com
./ou../ - Todos os links para domínios Microsoft devem incluir o ID de rastreamento:
?WT.mc_id=academic-105485-koreyst - Não use locais específicos de países nas URLs (evite
/en-us/) - Imagens armazenadas na pasta
./imagescom nomes descritivos - Use caracteres ingleses, números e traços nos nomes dos arquivos
Suporte a Tradução
- Repositório suporta mais de 40 idiomas via GitHub Actions automatizadas
- Traduções armazenadas no diretório
translations/ - Não envie traduções parciais
- Traduções automáticas por máquina não são aceitas
- Imagens traduzidas armazenadas no diretório
translated_images/
Testes e Validação
Verificações antes do envio
Este repositório usa GitHub Actions para validação. Antes de enviar Pull Requests:
- Verifique links em Markdown:
# O fluxo de trabalho validate-markdown.yml verifica: # - Caminhos relativos quebrados # - IDs de rastreamento ausentes nos caminhos # - IDs de rastreamento ausentes nas URLs # - URLs com localidade do país # - URLs externas quebradas - Testes manuais:
- Teste exemplos Python: Ative venv e execute scripts
- Teste exemplos TypeScript:
npm install,npm run build,npm start - Verifique se variáveis de ambiente estão configuradas corretamente
- Confirme que chaves API funcionam com os exemplos de código
- Exemplos de Código:
- Assegure que todo código rode sem erros
- Teste com Azure OpenAI e OpenAI API quando aplicável
- Verifique se os exemplos funcionam com Microsoft Foundry Models onde suportado
Sem Testes Automatizados
Este é um repositório educacional focado em tutoriais e exemplos. Não existem testes unitários ou de integração para rodar. A validação é principalmente:
- Testes manuais dos exemplos de código
- GitHub Actions para validação de Markdown
- Revisão comunitária do conteúdo educacional
Diretrizes para Pull Requests
Antes de Enviar
- Teste mudanças de código em Python e TypeScript quando aplicável
- Rode validação Markdown (disparado automaticamente no PR)
- Garanta que IDs de rastreamento estão presentes em todas URLs Microsoft
- Verifique se links relativos são válidos
- Confirme que imagens estão corretamente referenciadas
Formato do Título do PR
- Use títulos descritivos:
[Lesson 06] Corrige erro de digitação no exemplo PythonouAtualiza README para aula 08 - Referencie números de issues quando aplicável:
Corrige #123
Descrição do PR
- Explique o que foi alterado e por quê
- Link para issues relacionadas
- Para mudanças de código, especifique quais exemplos foram testados
- Para PRs de tradução, inclua todos os arquivos para tradução completa
Requisitos para Contribuição
- Assine o Microsoft CLA (automático no primeiro PR)
- Faça fork do repositório para sua conta antes de modificar
- Um PR por mudança lógica (não combine correções não relacionadas)
- Mantenha PRs focados e pequenos quando possível
Fluxos Comuns de Trabalho
Adicionando um Novo Exemplo de Código
- Navegue até o diretório da aula apropriada
- Crie o exemplo na subpasta
python/outypescript/ - Siga a convenção de nomes:
{provider}-{nome-exemplo}.{py|ts|js} - Teste com credenciais reais da API
- Documente novas variáveis de ambiente no README da aula
Atualizando Documentação
- Edite README.md no diretório da aula
- Siga diretrizes Markdown (IDs de rastreamento, links relativos)
- Atualizações em traduções são feitas por GitHub Actions (não edite manualmente)
- Teste se todos os links são válidos
Trabalhando com Dev Containers
- Repositório inclui
.devcontainer/devcontainer.json - Script pós-criação instala dependências Python automaticamente
- Extensões para Python e Jupyter pré-configuradas
- Ambiente baseado em
mcr.microsoft.com/devcontainers/universal:2.11.2
Implantação e Publicação
Este é um repositório de aprendizado - não existe processo de implantação. O currículo é consumido por:
- Repositório GitHub: Acesso direto ao código e documentação
- GitHub Codespaces: Ambiente de desenvolvimento instantâneo com configuração prévia
- Microsoft Learn: Conteúdo pode ser distribuído para plataforma oficial de aprendizado
- docsify: Site de documentação gerado a partir de Markdown (veja
docsifytopdf.jsepackage.json)
Construindo Site de Documentação
# Gerar PDF da documentação (se necessário)
npm run convertSolução de Problemas
Problemas Comuns
Erros de Importação em Python:
- Certifique-se que o ambiente virtual está ativado
- Rode
pip install -r requirements.txt - Verifique se a versão do Python é 3.9+
Erros de Build em TypeScript:
- Rode
npm installno diretório da app específica - Verifique se a versão do Node.js é compatível
- Limpe
node_modulese reinstale se necessário
Erros de Autenticação da API:
- Verifique se o arquivo
.envexiste e possui valores corretos - Cheque se as chaves API são válidas e não expiradas
- Certifique-se que URLs dos endpoints estão corretos para sua região
Variáveis de Ambiente Faltando:
- Copie
.env.copypara.env - Preencha todos os valores requeridos para a aula em que você está trabalhando
- Reinicie sua aplicação após atualizar
.env
Recursos Adicionais
- Guia de Configuração do Curso
- Diretrizes de Contribuição
- Código de Conduta
- Política de Segurança
- Azure AI Discord
- Coleção de Exemplos Avançados de Código
Notas Específicas do Projeto
- Este é um repositório educacional focado em aprendizado, não código de produção
- Exemplos são intencionalmente simples e focados em ensino de conceitos
- Qualidade de código é equilibrada com clareza educacional
- Cada aula é autocontida e pode ser concluída de forma independente
- O repositório suporta múltiplos provedores de API: Azure OpenAI, OpenAI, Microsoft Foundry Models e provedores offline como Foundry Local e Ollama
- Conteúdo é multilíngue com fluxos automáticos de tradução
- Comunidade ativa no Discord para perguntas e suporte
<!-- CO-OP TRANSLATOR DISCLAIMER START -->Aviso Legal: Este documento foi traduzido usando o serviço de tradução por IA Co-op Translator. Embora nos esforcemos pela precisão, por favor, esteja ciente de que traduções automatizadas podem conter erros ou imprecisões. O documento original em seu idioma nativo deve ser considerado a fonte autorizada. Para informações críticas, recomenda-se tradução profissional humana. Não nos responsabilizamos por quaisquer mal-entendidos ou interpretações incorretas decorrentes do uso desta tradução.
<!-- 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.

