Table of Contents

Property Persona

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

Persona

Gets the persona that defines the agent's role and communication style.

public string Persona { get; }

Property Value

string

Examples

Accessing the persona:

using LMKit.Agents;

var identity = new AgentIdentity(
    "Data Analyst",
    "Analyze datasets and provide insights."
);

Console.WriteLine($"Agent role: {identity.Persona}");
// Output: Agent role: Data Analyst

Remarks

The persona influences how the agent presents itself and communicates. Effective personas are specific and evocative:

  • "Senior Software Engineer with 10 years of Python experience"
  • "Patient Mathematics Tutor specializing in calculus"
  • "Professional Medical Writer familiar with FDA guidelines"