AgentscopeProperties
@ConfigurationProperties(prefix = "agentscope") public class AgentscopeProperties
源码Source
io/agentscope/spring/boot/properties/AgentscopeProperties.java:30–44Agentscope 属性,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.properties 包。核心成员包括 getAgent、getModel。
Root configuration properties for AgentScope Spring Boot starter.
At a high level, configuration is grouped as:
-
AgentPropertiesunderagentscope.agent -
ModelPropertiesunderagentscope.model
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public AgentProperties getAgent() | 获取智能体。 Returns the agent. |
public ModelProperties getModel() | 获取模型。 Returns the model. |
方法详情Method Detail
getAgent
public AgentProperties getAgent()
获取智能体。
Returns the agent.
AgentProperties返回AgentProperties。Returns agent properties.
源码Source
io/agentscope/spring/boot/properties/AgentscopeProperties.java:37–39getModel
public ModelProperties getModel()
获取模型。
Returns the model.
ModelProperties返回ModelProperties。Returns model properties.
源码Source
io/agentscope/spring/boot/properties/AgentscopeProperties.java:41–43