Class SearchOptions

java.lang.Object
com.alibaba.dashscope.legacy_2x.common.SearchOptions
Direct Known Subclasses:
SearchOptions

@Deprecated public class SearchOptions extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • builder

      public static SearchOptions.SearchOptionsBuilder<?,?> builder()
      Deprecated.
    • getEnableSource

      public Boolean getEnableSource()
      Deprecated.
      Whether to include search results in the response.
    • getEnableCitation

      public Boolean getEnableCitation()
      Deprecated.
      Whether to enable citations in [1] or [ref_1] format. Takes effect when enable_source is true.
    • getCitationFormat

      public String getCitationFormat()
      Deprecated.
      Citation format. Takes effect when enable_citation is true. []: citations in the form [1]; [ref_]: citations in the form [ref_1]. Default: [].
    • getForcedSearch

      public Boolean getForcedSearch()
      Deprecated.
      Whether to force search.
    • getSearchStrategy

      public String getSearchStrategy()
      Deprecated.
      Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request. Default: standard.
    • getPrependSearchResult

      public Boolean getPrependSearchResult()
      Deprecated.
      Whether the first data packet in streaming output contains only search source information. Only effective when enable_source is true and in streaming mode. Default is false.
    • setEnableSource

      public void setEnableSource(Boolean enableSource)
      Deprecated.
      Whether to include search results in the response.
    • setEnableCitation

      public void setEnableCitation(Boolean enableCitation)
      Deprecated.
      Whether to enable citations in [1] or [ref_1] format. Takes effect when enable_source is true.
    • setCitationFormat

      public void setCitationFormat(String citationFormat)
      Deprecated.
      Citation format. Takes effect when enable_citation is true. []: citations in the form [1]; [ref_]: citations in the form [ref_1]. Default: [].
    • setForcedSearch

      public void setForcedSearch(Boolean forcedSearch)
      Deprecated.
      Whether to force search.
    • setSearchStrategy

      public void setSearchStrategy(String searchStrategy)
      Deprecated.
      Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request. Default: standard.
    • setPrependSearchResult

      public void setPrependSearchResult(Boolean prependSearchResult)
      Deprecated.
      Whether the first data packet in streaming output contains only search source information. Only effective when enable_source is true and in streaming mode. Default is false.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object