MemoryServiceProvider
@FunctionalInterface public interface MemoryServiceProvider extends ComponentProvider<MemoryService>
源码Source
io/agentscope/runtime/app/AgentApp.java:563–566定义记忆服务提供者契约的接口。位于 io.agentscope.runtime.app 包,实现 ComponentProvider<MemoryService>。核心成员包括 get。
An interface in io.agentscope.runtime.app that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.runtime.app. Implements ComponentProvider
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public MemoryService get(Properties properties) | 按条件读取数据。 Performs the get operation. |
方法详情Method Detail
get
public MemoryService get(Properties properties)
按条件读取数据。
Performs the get operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | Properties | 属性(类型 `Properties`)。The properties. |
MemoryService返回MemoryService。Returns memory service.
源码Source
io/agentscope/runtime/app/AgentApp.java:565