SearchStrategy
public enum SearchStrategy
io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:157–193定义搜索 Strategy相关取值的枚举。位于 io.agentscope.extensions.model.dashscope.dto 包。核心成员包括 TURBO、MAX、AGENT、AGENT_MAX。
A enum in io.agentscope.extensions.model.dashscope.dto that defines enum values used when components talks to model services and returns generated or embedded output. Declared in io.agentscope.extensions.model.dashscope.dto.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
TURBO | 执行 `TURBO` 方法。 Taking into account both responsiveness and search effect, it is suitable for most scenarios.(default) |
MAX | 执行最大相关操作。 With a more comprehensive search strategy, call multi-source search engines for more exhaustive
search results, but response times may be longer |
AGENT | 执行智能体相关操作。 Web search tools and large models can be called multiple times to achieve multiple rounds of information
retrieval and content integration. |
AGENT_MAX | 执行智能体最大相关操作。 Web extractor is supported on the basis of agent policies. |
枚举常量详情Enum Constant Detail
TURBO
@JsonProperty("turbo") TURBO
执行 TURBO 方法。
Taking into account both responsiveness and search effect, it is suitable for most scenarios.(default)
io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:161–162MAX
@JsonProperty("max") MAX
执行最大相关操作。
With a more comprehensive search strategy, call multi-source search engines for more exhaustive search results, but response times may be longer
io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:168–169AGENT
@JsonProperty("agent") AGENT
执行智能体相关操作。
Web search tools and large models can be called multiple times to achieve multiple rounds of information retrieval and content integration.
io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:180–181AGENT_MAX
@JsonProperty("agent_max") AGENT_MAX
执行智能体最大相关操作。
Web extractor is supported on the basis of agent policies.
io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:191–192