AgentCardSkill Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentCardSkill
- com.
Implements
public final class AgentCardSkill
implements JsonSerializable<AgentCardSkill>
The AgentCardSkill model.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentCardSkill() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| String |
getDescription()
Get the description property: A description of the skill. |
| List<String> |
getExamples()
Get the examples property: A list of example scenarios that the skill can perform. |
| String |
getId()
Get the id property: a unique identifier for the skill. |
| String |
getName()
Get the name property: The name of the skill. |
| List<String> |
getTags()
Get the tags property: set of tagwords describing classes of capabilities for the skill. |
|
Agent |
setDescription(String description)
Set the description property: A description of the skill. |
|
Agent |
setExamples(List<String> examples)
Set the examples property: A list of example scenarios that the skill can perform. |
|
Agent |
setId(String id)
Set the id property: a unique identifier for the skill. |
|
Agent |
setName(String name)
Set the name property: The name of the skill. |
|
Agent |
setTags(List<String> tags)
Set the tags property: set of tagwords describing classes of capabilities for the skill. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AgentCardSkill
public AgentCardSkill()
Creates an instance of AgentCardSkill class.
Method Details
fromJson
public static AgentCardSkill fromJson(JsonReader jsonReader)
Reads an instance of AgentCardSkill from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: A description of the skill.
Returns:
getExamples
public List<String> getExamples()
Get the examples property: A list of example scenarios that the skill can perform.
Returns:
getId
public String getId()
Get the id property: a unique identifier for the skill.
Returns:
getName
public String getName()
Get the name property: The name of the skill.
Returns:
getTags
public List<String> getTags()
Get the tags property: set of tagwords describing classes of capabilities for the skill.
Returns:
setDescription
public AgentCardSkill setDescription(String description)
Set the description property: A description of the skill.
Parameters:
Returns:
setExamples
public AgentCardSkill setExamples(List<String> examples)
Set the examples property: A list of example scenarios that the skill can perform.
Parameters:
Returns:
setId
public AgentCardSkill setId(String id)
Set the id property: a unique identifier for the skill.
Required when create the resource.
Parameters:
Returns:
setName
public AgentCardSkill setName(String name)
Set the name property: The name of the skill.
Required when create the resource.
Parameters:
Returns:
setTags
public AgentCardSkill setTags(List<String> tags)
Set the tags property: set of tagwords describing classes of capabilities for the skill.
Parameters:
Returns: