AS AgentScopeAPI 手册 / API Reference

AgentscopeProperties

@ConfigurationProperties("agentscope") public class AgentscopeProperties
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:35–73

Agentscope 属性,承载智能体的部署、调度与服务化运行。位于 io.agentscope.micronaut.properties 包。核心成员包括 getAgent、getDashscope、getModel、getOpenai、getGemini、getAnthropic。

Root configuration properties for AgentScope Micronaut starter.

At a high level, configuration is grouped as:

  • AgentProperties under agentscope.agent

  • DashScopeProperties under agentscope.dashscope

  • ModelProperties under agentscope.model

  • OpenAIProperties under agentscope.openai

  • GeminiProperties under agentscope.gemini

  • AnthropicProperties under agentscope.anthropic

方法摘要Method Summary

方法Method说明Description
public AgentProperties getAgent()
获取智能体。
Returns the agent.
public DashScopeProperties getDashscope()
获取DashScope。
Returns the dashscope.
public ModelProperties getModel()
获取模型。
Returns the model.
public OpenAIProperties getOpenai()
获取OpenAI。
Returns the openai.
public GeminiProperties getGemini()
获取 `getGemini`。
Returns the Gemini.
public AnthropicProperties getAnthropic()
获取 `getAnthropic`。
Returns the Anthropic.

方法详情Method Detail

getAgent

public AgentProperties getAgent()

获取智能体。

Returns the agent.

返回Returns AgentProperties
返回AgentProperties。Returns agent properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:50–52

getDashscope

public DashScopeProperties getDashscope()

获取DashScope。

Returns the dashscope.

返回Returns DashScopeProperties
返回DashScopeProperties。Returns DashScope properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:54–56

getModel

public ModelProperties getModel()

获取模型。

Returns the model.

返回Returns ModelProperties
返回ModelProperties。Returns model properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:58–60

getOpenai

public OpenAIProperties getOpenai()

获取OpenAI。

Returns the openai.

返回Returns OpenAIProperties
返回OpenAIProperties。Returns OpenAI properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:62–64

getGemini

public GeminiProperties getGemini()

获取 getGemini。

Returns the Gemini.

返回Returns GeminiProperties
返回GeminiProperties。Returns Gemini properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:66–68

getAnthropic

public AnthropicProperties getAnthropic()

获取 getAnthropic。

Returns the Anthropic.

返回Returns AnthropicProperties
返回AnthropicProperties。Returns Anthropic properties.
源码Source io/agentscope/micronaut/properties/AgentscopeProperties.java:70–72
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.