Table of Contents

Constructor SkillMatch

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

SkillMatch(AgentSkill, float, string, bool)

Initializes a new instance of the SkillMatch class.

public SkillMatch(AgentSkill skill, float score, string matchedTrigger = null, bool isExplicitTrigger = false)

Parameters

skill AgentSkill

The matched skill.

score float

The match score (0.0 to 1.0).

matchedTrigger string

The trigger that caused the match, if any.

isExplicitTrigger bool

Whether this was an explicit trigger match.

Exceptions

ArgumentNullException

Thrown when skill is null.

ArgumentOutOfRangeException

Thrown when score is not between 0.0 and 1.0.