Hello there!
This repo contains a workshop with all the steps you need to follow to learn how to build your own Star Wars Copilot using C#, Microsoft.Extensions.AI, and the Microsoft Agent Framework. This is designed to be a taught workshop, with all the concepts you need to learn at each step taught by the presenter, with hands on exercises to implement each step.
To complete this workshop you will need:
- A basic understanding of C#
- A working C# development environment, with
- .NET 10 SDK
- An IDE with C# such as VS Code with the C# Dev Kit extension installed, Visual Studio with the .NET workload installed, or JetBrains Rider
- Access to an LLM running on Azure OpenAI service, as well as the Azure AI Inference service (your instructor can provide this)
- The latest version of Node installed
- Optional Foundry Local installed with Phi-4 mini downloaded (Mac or Windows device required)
- To download Phi-4 mini, install foundry local, then run
foundry model download phi-4-mini
- To download Phi-4 mini, install foundry local, then run
This repo has the following structure:
- README.md - this file with initial instructions
- 8 lessons in folders numbered 1-8 with the final code from the lesson. Each lesson builds on the previous one.
- Chat With an LLM
- Chat History and Message Roles
- LLM Choice
- Tool calling
- MCP - Model Context Protocol
- RAG
- Multi-modal AI
- Agents
Each lesson has an after folder containing all the code from the lesson. If you need to, start by using the after code from the previous lesson and build upon it.