Metadata
@JsonInclude(JsonInclude.Include.NON_NULL) public static class Metadata
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:98–144元数据,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.core.memory.reme 包。核心成员包括 getMemoryList、setMemoryList、getDeletedMemoryIds、setDeletedMemoryIds、getUpdateResult、setUpdateResult。
Metadata object containing memory list and update results.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<MemoryItem> getMemoryList() | 获取记忆列表。 Returns the memory list. |
public void setMemoryList(List<MemoryItem> memoryList) | 设置记忆列表。 Sets the memory list. |
public List<String> getDeletedMemoryIds() | 获取 `getDeletedMemoryIds`。 Returns the deleted memory ids. |
public void setDeletedMemoryIds(List<String> deletedMemoryIds) | 设置 `setDeletedMemoryIds`。 Sets the deleted memory ids. |
public UpdateResult getUpdateResult() | 获取更新结果。 Returns the update result. |
public void setUpdateResult(UpdateResult updateResult) | 设置更新结果。 Sets the update result. |
public String toString() | 返回 `toString` 结果。 Returns the to string. |
方法详情Method Detail
getMemoryList
public List<MemoryItem> getMemoryList()
获取记忆列表。
Returns the memory list.
List<MemoryItem>返回列出。Returns list.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:109–111setMemoryList
public void setMemoryList(List<MemoryItem> memoryList)
设置记忆列表。
Sets the memory list.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
memoryList | List<MemoryItem> | 记忆列表(类型 `List`)。The memory list. |
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:113–115getDeletedMemoryIds
public List<String> getDeletedMemoryIds()
获取 getDeletedMemoryIds。
Returns the deleted memory ids.
List<String>返回列出。Returns list.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:117–119setDeletedMemoryIds
public void setDeletedMemoryIds(List<String> deletedMemoryIds)
设置 setDeletedMemoryIds。
Sets the deleted memory ids.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
deletedMemoryIds | List<String> | 已删除记忆 Ids(类型 `List`)。The deleted memory ids. |
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:121–123getUpdateResult
public UpdateResult getUpdateResult()
获取更新结果。
Returns the update result.
UpdateResult返回UpdateResult。Returns update result.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:125–127setUpdateResult
public void setUpdateResult(UpdateResult updateResult)
设置更新结果。
Sets the update result.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
updateResult | UpdateResult | 更新结果(类型 `UpdateResult`)。The update result. |
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:129–131toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/memory/reme/ReMeAddResponse.java:133–143