Enum Class DashScopeSearchOptions.SearchStrategy
java.lang.Object
java.lang.Enum<DashScopeSearchOptions.SearchStrategy>
io.agentscope.extensions.model.dashscope.dto.DashScopeSearchOptions.SearchStrategy
- All Implemented Interfaces:
Serializable,Comparable<DashScopeSearchOptions.SearchStrategy>,Constable
- Enclosing class:
- DashScopeSearchOptions
public static enum DashScopeSearchOptions.SearchStrategy
extends Enum<DashScopeSearchOptions.SearchStrategy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWeb 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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-