接口的使用
io.agentscope.core.memory.LongTermMemory
使用LongTermMemory的程序包
-
io.agentscope.core中LongTermMemory的使用
参数类型为LongTermMemory的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.Builder.longTermMemory(LongTermMemory longTermMemory) 已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. -
io.agentscope.core.memory中LongTermMemory的使用
修饰符和类型方法说明StaticLongTermMemoryHook.getLongTermMemory()已过时, 待删除: 此 API 元素将从以后的版本中删除。Gets the long-term memory instance used by this hook.参数类型为LongTermMemory的io.agentscope.core.memory中的构造器限定符构造器说明LongTermMemoryTools(LongTermMemory memory) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Creates a new tool adapter for the given long-term memory instance.StaticLongTermMemoryHook(LongTermMemory longTermMemory, Memory memory) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Creates a new StaticLongTermMemoryHook with synchronous recording.StaticLongTermMemoryHook(LongTermMemory longTermMemory, Memory memory, boolean asyncRecord) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Creates a new StaticLongTermMemoryHook.