Generative AI for Beginners

Microsoft's free open-source curriculum of lessons on building generative AI applications, with code samples in Python and TypeScript.

Generative AI for Beginners is an open-source curriculum published by Microsoft on GitHub. It is organized as a set of standalone lessons that explain a concept and, in many cases, provide a code sample. Topics include how language models work, prompt engineering basics and advanced techniques, building text, chat and image generation apps, retrieval-augmented generation with vector databases, function calling, fine-tuning, securing applications and designing user experiences for AI features.

Each lesson includes a written explanation, a short video in many cases, and links to further reading. Code samples mostly target Azure OpenAI and the OpenAI API, with some examples for other model providers. It suits developers who want a free, structured overview they can study at their own pace. As a repository rather than a hosted course, it offers no grading or certificate, and learners need to set up API access and a development environment themselves.