Class SearchOptions
java.lang.Object
com.alibaba.dashscope.legacy_2x.common.SearchOptions
- Direct Known Subclasses:
SearchOptions
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearchOptions.SearchOptionsBuilder<C extends SearchOptions,B extends SearchOptions.SearchOptionsBuilder<C, B>> Deprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchOptions.SearchOptionsBuilder<?,?> builder()Deprecated.protected booleanDeprecated.booleanDeprecated.Deprecated.Citation format.Deprecated.Whether to enable citations in [1] or [ref_1] format.Deprecated.Whether to include search results in the response.Deprecated.Whether to force search.Deprecated.Whether the first data packet in streaming output contains only search source information.Deprecated.Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request.inthashCode()Deprecated.voidsetCitationFormat(String citationFormat) Deprecated.Citation format.voidsetEnableCitation(Boolean enableCitation) Deprecated.Whether to enable citations in [1] or [ref_1] format.voidsetEnableSource(Boolean enableSource) Deprecated.Whether to include search results in the response.voidsetForcedSearch(Boolean forcedSearch) Deprecated.Whether to force search.voidsetPrependSearchResult(Boolean prependSearchResult) Deprecated.Whether the first data packet in streaming output contains only search source information.voidsetSearchStrategy(String searchStrategy) Deprecated.Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request.toString()Deprecated.
-
Constructor Details
-
SearchOptions
Deprecated.
-
-
Method Details
-
builder
Deprecated. -
getEnableSource
Deprecated.Whether to include search results in the response. -
getEnableCitation
Deprecated.Whether to enable citations in [1] or [ref_1] format. Takes effect when enable_source is true. -
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
Deprecated.Whether to force search. -
getSearchStrategy
Deprecated.Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request. Default: standard. -
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
Deprecated.Whether to include search results in the response. -
setEnableCitation
Deprecated.Whether to enable citations in [1] or [ref_1] format. Takes effect when enable_source is true. -
setCitationFormat
Deprecated.Citation format. Takes effect when enable_citation is true. []: citations in the form [1]; [ref_ ]: citations in the form [ref_1]. Default: [ ]. -
setForcedSearch
Deprecated.Whether to force search. -
setSearchStrategy
Deprecated.Amount of Internet information to search. standard: retrieve 5 items per request; pro: retrieve 10 items per request. Default: standard. -
setPrependSearchResult
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
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-