AgentCard Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentCard
- com.
Implements
public final class AgentCard
implements JsonSerializable<AgentCard>
The AgentCard model.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentCard() |
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: The description of the agent card. |
|
List<Agent |
getSkills()
Get the skills property: The set of skills that an agent can perform. |
| String |
getVersion()
Get the version property: The version of the agent card. |
|
Agent |
setDescription(String description)
Set the description property: The description of the agent card. |
|
Agent |
setSkills(List<AgentCardSkill> skills)
Set the skills property: The set of skills that an agent can perform. |
|
Agent |
setVersion(String version)
Set the version property: The version of the agent card. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AgentCard
public AgentCard()
Creates an instance of AgentCard class.
Method Details
fromJson
public static AgentCard fromJson(JsonReader jsonReader)
Reads an instance of AgentCard from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: The description of the agent card.
Returns:
getSkills
public List<AgentCardSkill> getSkills()
Get the skills property: The set of skills that an agent can perform.
Returns:
getVersion
public String getVersion()
Get the version property: The version of the agent card.
Returns:
setDescription
public AgentCard setDescription(String description)
Set the description property: The description of the agent card.
Parameters:
Returns:
setSkills
public AgentCard setSkills(List<AgentCardSkill> skills)
Set the skills property: The set of skills that an agent can perform.
Required when create the resource.
Parameters:
Returns:
setVersion
public AgentCard setVersion(String version)
Set the version property: The version of the agent card.
Required when create the resource.
Parameters:
Returns: