AS AgentScopeAPI 手册 / API Reference

SearchStrategy

public enum SearchStrategy
源码Source 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
staticfinal

执行 TURBO 方法。

Taking into account both responsiveness and search effect, it is suitable for most scenarios.(default)

源码Source io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:161–162

MAX

@JsonProperty("max") MAX
staticfinal

执行最大相关操作。

With a more comprehensive search strategy, call multi-source search engines for more exhaustive search results, but response times may be longer

源码Source io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:168–169

AGENT

@JsonProperty("agent") AGENT
staticfinal

执行智能体相关操作。

Web search tools and large models can be called multiple times to achieve multiple rounds of information retrieval and content integration.

源码Source io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:180–181

AGENT_MAX

@JsonProperty("agent_max") AGENT_MAX
staticfinal

执行智能体最大相关操作。

Web extractor is supported on the basis of agent policies.

源码Source io/agentscope/extensions/model/dashscope/dto/DashScopeSearchOptions.java:191–192
基于官方固定版本源码静态生成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.