接口的使用
io.agentscope.core.memory.Memory
使用Memory的程序包
程序包
说明
-
io.agentscope.core中Memory的使用
返回Memory的io.agentscope.core中的方法参数类型为Memory的io.agentscope.core中的方法修饰符和类型方法说明Sets the memory for storing conversation history.void -
io.agentscope.core.agent中Memory的使用
修饰符和类型方法说明abstract MemoryStructuredOutputCapableAgent.getMemory()Get the memory for structured output hook.参数类型为Memory的io.agentscope.core.agent中的构造器限定符构造器说明StructuredOutputHook(StructuredOutputReminder reminderMode, GenerateOptions baseOptions, Memory memory) Creates a new StructuredOutputHook. -
io.agentscope.core.hook中Memory的使用
-
io.agentscope.core.memory中Memory的使用
参数类型为Memory的io.agentscope.core.memory中的构造器限定符构造器说明StaticLongTermMemoryHook(LongTermMemory longTermMemory, Memory memory) Creates a new StaticLongTermMemoryHook with synchronous recording.StaticLongTermMemoryHook(LongTermMemory longTermMemory, Memory memory, boolean asyncRecord) Creates a new StaticLongTermMemoryHook.