AS AgentScopeAPI 手册 / API Reference

BailianMemoryNode

@JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public class BailianMemoryNode
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:25–163

表示记忆节点 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.
public Long getCreatedAt()
获取已创建 At。
Gets the creation timestamp.
public void setCreatedAt(Long createdAt)
设置已创建 At。
Sets the creation timestamp.
public Long getUpdatedAt()
获取更新时间戳。
Gets the update timestamp.
public void setUpdatedAt(Long updatedAt)
设置更新时间戳。
Sets the update timestamp.

构造器详情Constructor Detail

BailianMemoryNode

public BailianMemoryNode()

初始化 BailianMemoryNode 实例。

Default constructor for Jackson.

源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:54

方法详情Method Detail

getMemoryNodeId

public String getMemoryNodeId()

获取记忆节点标识。

Gets the memory node ID.

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

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/BailianMemoryNode.java:70–72

getContent

public String getContent()

获取内容。

Gets the content.

返回Returns String
内容。the content
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:79–81

setContent

public void setContent(String content)

设置内容。

Sets the content.

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

getEvent

public String getEvent()

获取事件类型。

Gets the event type.

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

setEvent

public void setEvent(String event)

设置事件类型。

Sets the event type.

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

getOldContent

public String getOldContent()

获取旧的内容。

Gets the old content.

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

setOldContent

public void setOldContent(String oldContent)

设置旧的内容。

Sets the old content.

参数Parameters
名称Name类型Type说明Description
oldContentString旧的内容。the old content
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:124–126

getCreatedAt

public Long getCreatedAt()

获取已创建 At。

Gets the creation timestamp.

返回Returns Long
返回数值结果。the creation timestamp
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:133–135

setCreatedAt

public void setCreatedAt(Long createdAt)

设置已创建 At。

Sets the creation timestamp.

参数Parameters
名称Name类型Type说明Description
createdAtLong已创建 At(类型 `Long`)。the creation timestamp
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:142–144

getUpdatedAt

public Long getUpdatedAt()

获取更新时间戳。

Gets the update timestamp.

返回Returns Long
更新时间戳。the update timestamp
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:151–153

setUpdatedAt

public void setUpdatedAt(Long updatedAt)

设置更新时间戳。

Sets the update timestamp.

参数Parameters
名称Name类型Type说明Description
updatedAtLong更新时间戳。the update timestamp
源码Source io/agentscope/core/memory/bailian/BailianMemoryNode.java:160–162
基于官方固定版本源码静态生成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.