Class DashScopeChatOptions.DashScopeChatOptionsBuilder
java.lang.Object
com.alibaba.cloud.ai.dashscope.chat.DashScopeChatOptions.DashScopeChatOptionsBuilder
- Enclosing class:
- DashScopeChatOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()enableSearch(Boolean enableSearch) enableThinking(Boolean enableThinking) httpHeaders(Map<String, String> httpHeaders) incrementalOutput(Boolean incrementalOutput) internalToolExecutionEnabled(Boolean internalToolExecutionEnabled) modalities(List<String> modalities) multiModel(Boolean multiModel) parallelToolCalls(Boolean parallelToolCalls) repetitionPenalty(Double repetitionPenalty) responseFormat(DashScopeResponseFormat responseFormat) searchOptions(DashScopeApiSpec.SearchOptions searchOptions) streamOptions(Object streamOptions) temperature(Double temperature) thinkingBudget(Integer thinkingBudget) toolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) toolChoice(Object toolChoice) toolContext(Map<String, Object> toolContext) tools(List<DashScopeApiSpec.FunctionTool> tools) vlHighResolutionImages(Boolean vlHighResolutionImages) withEnableSearch(Boolean enableSearch) Deprecated.withEnableThinking(Boolean enableThinking) Deprecated.withHttpHeaders(Map<String, String> httpHeaders) Deprecated.withIncrementalOutput(Boolean incrementalOutput) Deprecated.withInternalToolExecutionEnabled(Boolean internalToolExecutionEnabled) Deprecated.withMaxToken(Integer maxTokens) Deprecated.Deprecated.withMultiModel(Boolean multiModel) Deprecated.withParallelToolCalls(Boolean parallelToolCalls) Deprecated.withRepetitionPenalty(Double repetitionPenalty) Deprecated.withResponseFormat(DashScopeResponseFormat responseFormat) Deprecated.withSearchOptions(DashScopeApiSpec.SearchOptions searchOptions) Deprecated.Deprecated.Deprecated.withStream(Boolean stream) Deprecated.withTemperature(Double temperature) Deprecated.withThinkingBudget(Integer thinkingBudget) Deprecated.withToolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) Deprecated.withToolChoice(Object toolChoice) Deprecated.withToolContext(Map<String, Object> toolContext) Deprecated.withToolName(String toolName) Deprecated.withToolNames(Set<String> toolNames) Deprecated.Deprecated.Deprecated.Deprecated.withVlHighResolutionImages(Boolean vlHighResolutionImages) Deprecated.
-
Constructor Details
-
DashScopeChatOptionsBuilder
public DashScopeChatOptionsBuilder()
-
-
Method Details
-
model
-
withModel
Deprecated. -
searchOptions
public DashScopeChatOptions.DashScopeChatOptionsBuilder searchOptions(DashScopeApiSpec.SearchOptions searchOptions) -
withSearchOptions
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withSearchOptions(DashScopeApiSpec.SearchOptions searchOptions) Deprecated. -
parallelToolCalls
public DashScopeChatOptions.DashScopeChatOptionsBuilder parallelToolCalls(Boolean parallelToolCalls) -
withParallelToolCalls
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withParallelToolCalls(Boolean parallelToolCalls) Deprecated. -
httpHeaders
-
withHttpHeaders
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withHttpHeaders(Map<String, String> httpHeaders) Deprecated. -
maxToken
-
withMaxToken
Deprecated. -
temperature
-
withTemperature
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withTemperature(Double temperature) Deprecated. -
topP
-
withTopP
Deprecated. -
topK
-
withTopK
Deprecated. -
stop
-
withStop
Deprecated. -
responseFormat
public DashScopeChatOptions.DashScopeChatOptionsBuilder responseFormat(DashScopeResponseFormat responseFormat) -
withResponseFormat
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withResponseFormat(DashScopeResponseFormat responseFormat) Deprecated. -
enableSearch
-
withEnableSearch
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withEnableSearch(Boolean enableSearch) Deprecated. -
repetitionPenalty
-
withRepetitionPenalty
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withRepetitionPenalty(Double repetitionPenalty) Deprecated. -
tools
public DashScopeChatOptions.DashScopeChatOptionsBuilder tools(List<DashScopeApiSpec.FunctionTool> tools) -
withTools
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withTools(List<DashScopeApiSpec.FunctionTool> tools) Deprecated. -
toolChoice
-
withToolChoice
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withToolChoice(Object toolChoice) Deprecated. -
stream
-
withStream
Deprecated. -
toolCallbacks
public DashScopeChatOptions.DashScopeChatOptionsBuilder toolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) -
withToolCallbacks
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withToolCallbacks(List<org.springframework.ai.tool.ToolCallback> toolCallbacks) Deprecated. -
toolNames
-
withToolNames
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withToolNames(Set<String> toolNames) Deprecated. -
toolName
-
withToolName
Deprecated. -
internalToolExecutionEnabled
public DashScopeChatOptions.DashScopeChatOptionsBuilder internalToolExecutionEnabled(Boolean internalToolExecutionEnabled) -
withInternalToolExecutionEnabled
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withInternalToolExecutionEnabled(Boolean internalToolExecutionEnabled) Deprecated. -
seed
-
withSeed
Deprecated. -
incrementalOutput
public DashScopeChatOptions.DashScopeChatOptionsBuilder incrementalOutput(Boolean incrementalOutput) -
withIncrementalOutput
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withIncrementalOutput(Boolean incrementalOutput) Deprecated. -
toolContext
-
withToolContext
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withToolContext(Map<String, Object> toolContext) Deprecated. -
vlHighResolutionImages
public DashScopeChatOptions.DashScopeChatOptionsBuilder vlHighResolutionImages(Boolean vlHighResolutionImages) -
withVlHighResolutionImages
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withVlHighResolutionImages(Boolean vlHighResolutionImages) Deprecated. -
enableThinking
-
withEnableThinking
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withEnableThinking(Boolean enableThinking) Deprecated. -
multiModel
-
withMultiModel
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withMultiModel(Boolean multiModel) Deprecated. -
thinkingBudget
-
withThinkingBudget
@Deprecated public DashScopeChatOptions.DashScopeChatOptionsBuilder withThinkingBudget(Integer thinkingBudget) Deprecated. -
modalities
-
audio
-
streamOptions
-
extraBody
-
build
-