AS AgentScopeAPI 手册 / API Reference

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.

返回Returns String
记忆节点标识。the memory node ID
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:108–110

setMemoryNodeId

public void setMemoryNodeId(String memoryNodeId)

设置记忆节点标识。

Sets the memory node ID.

参数Parameters
名称Name类型Type说明Description
memoryNodeIdString记忆节点标识。the memory node ID
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:117–119

getContent

public String getContent()

获取内容。

Gets the content.

返回Returns String
内容。the content
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:126–128

setContent

public void setContent(String content)

设置内容。

Sets the content.

参数Parameters
名称Name类型Type说明Description
contentString内容。the content
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:135–137

getEvent

public String getEvent()

获取事件类型。

Gets the event type.

返回Returns String
事件类型。the event type
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:144–146

setEvent

public void setEvent(String event)

设置事件类型。

Sets the event type.

参数Parameters
名称Name类型Type说明Description
eventString事件类型。the event type
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:153–155

getOldContent

public String getOldContent()

获取旧的内容。

Gets the old content.

返回Returns String
旧的内容。the old content
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:162–164

setOldContent

public void setOldContent(String oldContent)

设置旧的内容。

Sets the old content.

参数Parameters
名称Name类型Type说明Description
oldContentString旧的内容。the old content
源码Source io/agentscope/core/memory/bailian/BailianAddResponse.java:171–173
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.