枚举类 DashScopeSearchOptions.SearchStrategy

java.lang.Object
java.lang.Enum<DashScopeSearchOptions.SearchStrategy>
io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
所有已实现的接口:
Serializable, Comparable<DashScopeSearchOptions.SearchStrategy>, Constable
封闭类:
DashScopeSearchOptions

public static enum DashScopeSearchOptions.SearchStrategy extends Enum<DashScopeSearchOptions.SearchStrategy>
  • 枚举常量详细资料

    • TURBO

      public static final DashScopeSearchOptions.SearchStrategy TURBO
      Taking into account both responsiveness and search effect, it is suitable for most scenarios.(default)
    • MAX

      public static final DashScopeSearchOptions.SearchStrategy MAX
      With a more comprehensive search strategy, call multi-source search engines for more exhaustive search results, but response times may be longer
    • AGENT

      public static final DashScopeSearchOptions.SearchStrategy 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

      public static final DashScopeSearchOptions.SearchStrategy 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

      public static DashScopeSearchOptions.SearchStrategy[] values()
      返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static DashScopeSearchOptions.SearchStrategy valueOf(String name)
      返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类没有带有指定名称的常量
      NullPointerException - 如果参数为空值