Table of Contents

Property HasInstruction

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

HasInstruction

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

public bool HasInstruction { get; }

Property Value

bool

Examples

Checking for instruction:

using LMKit.Agents;

var withInstruction = new AgentIdentity("Helper", "Assist users.");
var withoutInstruction = new AgentIdentity("Helper");

Console.WriteLine(withInstruction.HasInstruction);    // True
Console.WriteLine(withoutInstruction.HasInstruction); // False