Class ChatCompletionCreateParams.Builder
java.lang.Object
com.alibaba.dashscope.types.completions.ChatCompletionCreateParams.Builder
- Enclosing class:
- ChatCompletionCreateParams
-
Method Summary
Modifier and TypeMethodDescriptionbuild()enableSearch(Boolean enableSearch) enableThinking(Boolean enableThinking) extraInput(Map<String, Object> extraInput) incrementalOutput(Boolean incrementalOutput) parallelToolCalls(Boolean parallelToolCalls) parameters(Map<String, Object> parameters) presencePenalty(Double presencePenalty) repetitionPenalty(Double repetitionPenalty) responseFormat(Map<String, Object> responseFormat) searchOptions(Map<String, Object> searchOptions) temperature(Double temperature) thinkingBudget(Integer thinkingBudget) toolChoice(Object toolChoice) String ("auto"/"none") or a structured tool-choice map.Tool schemas as wire-shaped maps (structured Tool types arrive with multimodal in M2).topLogprobs(Integer topLogprobs)
-
Method Details
-
model
-
messages
-
temperature
-
topP
-
maxTokens
-
stop
-
seed
-
repetitionPenalty
-
presencePenalty
-
enableThinking
-
responseFormat
-
topK
-
toolChoice
String ("auto"/"none") or a structured tool-choice map. -
tools
Tool schemas as wire-shaped maps (structured Tool types arrive with multimodal in M2). -
n
-
logprobs
-
topLogprobs
-
thinkingBudget
-
enableSearch
-
searchOptions
-
parallelToolCalls
-
incrementalOutput
-
parameters
-
extraInput
-
build
-