AS AgentScopeAPI 手册 / API Reference

MemoryDto

@JsonInclude(JsonInclude.Include.NON_NULL) public record MemoryDto( String id, String storeId, String path, String content, int headVersion, long createdAt, long updatedAt)
源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

承载记忆 Dto数据的记录类型。位于 io.agentscope.builder.web.managed 包。核心成员包括 id、storeId、path、content、headVersion、createdAt。

API representation of a path-addressed memory document.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
idString
执行标识相关操作。
Performs the id operation.
storeIdString
执行存储标识相关操作。
Performs the store id operation.
pathString
执行路径相关操作。
Performs the path operation.
contentString
执行内容相关操作。
Performs the content operation.
headVersionint
执行 `headVersion` 方法。
Performs the head version operation.
createdAtlong
执行已创建 At相关操作。
Performs the created at operation.
updatedAtlong
执行已更新 At相关操作。
Performs the updated at operation.

记录组件详情Record Component Detail

id

String id

执行标识相关操作。

Performs the id operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

storeId

String storeId

执行存储标识相关操作。

Performs the store id operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

path

String path

执行路径相关操作。

Performs the path operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

content

String content

执行内容相关操作。

Performs the content operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

headVersion

int headVersion

执行 headVersion 方法。

Performs the head version operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

createdAt

long createdAt

执行已创建 At相关操作。

Performs the created at operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29

updatedAt

long updatedAt

执行已更新 At相关操作。

Performs the updated at operation.

源码Source io/agentscope/builder/web/managed/MemoryDto.java:21–29
基于官方固定版本源码静态生成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.