BailianMemoryNode
public static class BailianMemoryNode
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:84–174表示记忆节点 in 响应。位于 io.agentscope.core.memory.bailian 包。核心成员包括 getMemoryNodeId、setMemoryNodeId、getContent、setContent、getEvent、setEvent。
Represents a memory node in the response.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public BailianMemoryNode() | 初始化 `BailianMemoryNode` 实例。 Default constructor for Jackson. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getMemoryNodeId() | 获取记忆节点标识。 Gets the memory node ID. |
public void setMemoryNodeId(String memoryNodeId) | 设置记忆节点标识。 Sets the memory node ID. |
public String getContent() | 获取内容。 Gets the content. |
public void setContent(String content) | 设置内容。 Sets the content. |
public String getEvent() | 获取事件类型。 Gets the event type. |
public void setEvent(String event) | 设置事件类型。 Sets the event type. |
public String getOldContent() | 获取旧的内容。 Gets the old content. |
public void setOldContent(String oldContent) | 设置旧的内容。 Sets the old content. |
构造器详情Constructor Detail
BailianMemoryNode
public BailianMemoryNode()
初始化 BailianMemoryNode 实例。
Default constructor for Jackson.
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:101方法详情Method Detail
getMemoryNodeId
public String getMemoryNodeId()
获取记忆节点标识。
Gets the memory node ID.
String记忆节点标识。the memory node ID
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:108–110setMemoryNodeId
public void setMemoryNodeId(String memoryNodeId)
设置记忆节点标识。
Sets the memory node ID.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
memoryNodeId | String | 记忆节点标识。the memory node ID |
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:117–119getContent
public String getContent()
获取内容。
Gets the content.
String内容。the content
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:126–128setContent
public void setContent(String content)
设置内容。
Sets the content.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
content | String | 内容。the content |
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:135–137getEvent
public String getEvent()
获取事件类型。
Gets the event type.
String事件类型。the event type
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:144–146setEvent
public void setEvent(String event)
设置事件类型。
Sets the event type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
event | String | 事件类型。the event type |
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:153–155getOldContent
public String getOldContent()
获取旧的内容。
Gets the old content.
String旧的内容。the old content
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:162–164setOldContent
public void setOldContent(String oldContent)
设置旧的内容。
Sets the old content.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
oldContent | String | 旧的内容。the old content |
源码Source
io/agentscope/core/memory/bailian/BailianAddResponse.java:171–173