记录类的使用
io.agentscope.core.state.StatePersistence
使用StatePersistence的程序包
-
io.agentscope.core中StatePersistence的使用
参数类型为StatePersistence的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.Builder.statePersistence(StatePersistence statePersistence) Sets the state persistence configuration. -
io.agentscope.core.state中StatePersistence的使用
修饰符和类型方法说明static StatePersistenceStatePersistence.all()Default configuration: manage all components.StatePersistence.Builder.build()Builds a new StatePersistence with the configured settings.static StatePersistenceStatePersistence.memoryOnly()Only manage Memory component.static StatePersistenceStatePersistence.none()Don't manage any components (user fully controls).