Class SkillExampleAttribute
- Namespace
- nanoFramework.WebServer.Skills
- Assembly
- nanoFramework.WebServer.Skills.dll
Provides an example prompt or scenario for a skill (A2A: AgentSkill.examples). Apply multiple times to add multiple examples.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class SkillExampleAttribute : Attribute
- Inheritance
-
SkillExampleAttribute
- Inherited Members
- Extension Methods
Constructors
SkillExampleAttribute(string)
Initializes a new instance of the SkillExampleAttribute class.
public SkillExampleAttribute(string example)
Parameters
examplestringAn example prompt or scenario this skill handles.
Properties
Example
Gets the example text.
public string Example { get; }