-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
In this chapter, you learned the fundamentals of agent-based design and how to structure a SKILL.md file. You also learned how to get started with OpenAI, specifically by working with the OpenAI .NET library. You explored how to configure the ChatClient, tune request parameters such as Temperature and MaxOutputTokenCount, and manage message roles such as SystemChatMessage and UserChatMessage.
You built a skill-driven AI assistant that goes beyond a simple chatbot by using reusable SKILL.md files to guide focused, task-specific behavior. The application uses a three-project Blazor WebAssembly solution: a client for the UI, an ASP.NET Core Web API for skill execution, and a shared class library for the DTOs passed between them. The API reads each skill's front matter and instructions, sends the selected skill and user input to OpenAI, and returns a targeted result to the browser. Finally, you added the AI models approach to the UI.
You are now prepared to expand this assistant...