枚举类 DashScopeSearchOptions.SearchStrategy
java.lang.Object
java.lang.Enum<DashScopeSearchOptions.SearchStrategy>
io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
public static enum DashScopeSearchOptions.SearchStrategy
extends Enum<DashScopeSearchOptions.SearchStrategy>
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明Web search tools and large models can be called multiple times to achieve multiple rounds of information retrieval and content integration.Web extractor is supported on the basis of agent policies.With a more comprehensive search strategy, call multi-source search engines for more exhaustive search results, but response times may be longerTaking into account both responsiveness and search effect, it is suitable for most scenarios. -
方法概要
-
枚举常量详细资料
-
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.This strategy only works with qwen3.5-plus, qwen3.5-plus-2026-02-15, qwen3.5-flash, qwen3.5-flash-2026-02-23, qwen3-max with qwen3-max-2026-01-23 (streaming only), qwen3-max-2026-01-23 non-thinking mode, qwen3-max-2025-09-23. When this strategy is enabled, only the search source (enable_source: true) is supported, and other web search options are not available.
-
AGENT_MAX
Web extractor is supported on the basis of agent policies.This strategy is only applicable to qwen3.5-plus, qwen3.5-plus-2026-02-15, qwen3.5-flash, qwen3.5-flash-2026-02-23, and qwen3-max and qwen3-max-2026-01-23 thinking modes. When this strategy is enabled, only the search source (enable_source: true) is supported, and other web search options are not available.
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-