Table of Contents

Property HasPersona

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

HasPersona

Gets a value indicating whether this identity has a defined persona.

public bool HasPersona { get; }

Property Value

bool

Examples

Checking for persona:

using LMKit.Agents;

var withPersona = new AgentIdentity("Helper", "Assist users.");
var withoutPersona = new AgentIdentity(null, "Assist users.");

Console.WriteLine(withPersona.HasPersona);    // True
Console.WriteLine(withoutPersona.HasPersona); // False