Table of Contents

Property Type

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

Type

Gets the resource type inferred from its location and extension.

public SkillResourceType Type { get; }

Property Value

SkillResourceType

Examples

Checking the resource type:

var resource = skill.GetResource("scripts/validate.py");
if (resource.Type == SkillResourceType.Script)
{
    Console.WriteLine("This is a script resource");
}