IdentityConfig
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public static class IdentityConfig
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:276–303身份配置,保存相关配置项。位于 io.agentscope.builder.runtime.config 包。核心成员包括 getName、setName、getEmoji、setEmoji。
A class in io.agentscope.builder.runtime.config that deploys, schedules and serves agents. Declared in io.agentscope.builder.runtime.config.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getName() | 获取名称。 Returns the name. |
public void setName(String name) | 设置名称。 Sets the name. |
public String getEmoji() | 获取 `getEmoji`。 Returns the emoji. |
public void setEmoji(String emoji) | 设置 `setEmoji`。 Sets the emoji. |
方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:288–290setName
public void setName(String name)
设置名称。
Sets the name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:292–294getEmoji
public String getEmoji()
获取 getEmoji。
Returns the emoji.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:296–298setEmoji
public void setEmoji(String emoji)
设置 setEmoji。
Sets the emoji.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
emoji | String | emoji(类型 `String`)。The emoji. |
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:300–302