Table of Contents

๐Ÿ‘‰ Try the demo: https://github.com/LM-Kit/lm-kit-net-samples/tree/main/console_net/ai-agents/chatbots/support_persona_chatbot

Persona-Driven Chatbot for C# .NET Applications


๐ŸŽฏ Purpose of the Demo

Minimal chat agent built with AgentTemplates.Chat(model).WithPersonality(...).Build(). A stable system prompt, a name, and a loop.

โœจ Key Features

  • AgentTemplates.Chat(LM) factory.
  • .WithPersonality(string) fluent builder method.
  • Agent.Run(input) returning AgentExecutionResult.
  • AgentExecutionResult.Content, .IsSuccess, .Duration, .InferenceCount.

โš™๏ธ Getting Started

cd lm-kit-net-samples/console_net/ai-agents/chatbots/support_persona_chatbot
dotnet run
dotnet run -- "You are a strict reviewer. Always answer with one sentence and a numeric score."

๐Ÿ“š Additional Resources

Share