Metadata
@JsonInclude(JsonInclude.Include.NON_NULL) public static class Metadata
源码Source
io/agentscope/core/memory/reme/ReMeSearchResponse.java:119–139元数据,在多次调用之间保存和恢复会话与记忆数据。位于 io.agentscope.core.memory.reme 包。核心成员包括 getMemoryList、setMemoryList、toString。
Metadata object containing memory list.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<MemoryItem> getMemoryList() | 获取记忆列表。 Returns the memory list. |
public void setMemoryList(List<MemoryItem> memoryList) | 设置记忆列表。 Sets the memory list. |
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/ReMeSearchResponse.java:124–126setMemoryList
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/ReMeSearchResponse.java:128–130toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/memory/reme/ReMeSearchResponse.java:132–138