Property Persona
Persona
Gets the persona that defines the agent's role and communication style.
public string Persona { get; }
Property Value
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"