Microsoft Agent Framework for .NET (part 3): Custom Agents, for building a chat with custom instructions
Learn how to create a custom AI Agent in Microsoft Agent Framework for .NET with a name and custom instructions. And then, learn how to handle multi-turn conversations and improve responses through better system prompts. Continue readingMicrosoft Agent Framework for .NET (part 2): How to use IChatClient with Azure Foundry and Ollama in .NET
IChatClient is the core of Microsoft Agent Framework. Let’s see how to configure it with Azure Foundry and Ollama. Continue readingC# Tip: Use required members to prevent invalid object initialization (beware of SetsRequiredMembers attribute!)
Learn how to userequired members in C# to enforce complete object initialization at compile time and avoid half-configured models. And beware of the SetsRequiredMembers attribute, which can be dangerous if misused.
Continue reading