Table of Contents

Property IsEmpty

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

IsEmpty

Gets a value indicating whether this identity is empty (no persona or instruction defined).

public bool IsEmpty { get; }

Property Value

bool

Examples

Checking if identity is empty:

using LMKit.Agents;

var empty = AgentIdentity.Empty;
var defined = new AgentIdentity("Assistant", "Help with tasks.");

Console.WriteLine(empty.IsEmpty);   // True
Console.WriteLine(defined.IsEmpty); // False