Class ChatCompletionCreateParams
java.lang.Object
com.alibaba.dashscope.types.completions.ChatCompletionCreateParams
Parameters for
chat.completions.create / createStreaming. Builder validates required
fields at build() (design §3). Wire shape: {model, input:{messages, ...},
parameters:{...}} — known optional fields land in parameters; unknown passthrough only
via ChatCompletionCreateParams.Builder.parameters(Map) / ChatCompletionCreateParams.Builder.extraInput(Map).-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
-
getModel
-
getMessages
-
getTemperature
-
getTopP
-
getMaxTokens
-
getStop
-
getSeed
-
getRepetitionPenalty
-
getPresencePenalty
-
getEnableThinking
-
getResponseFormat
-
getTopK
-
getToolChoice
-
getTools
-
getN
-
getLogprobs
-
getTopLogprobs
-
getThinkingBudget
-
getEnableSearch
-
getSearchOptions
-
getParallelToolCalls
-
getIncrementalOutput
Streaming output mode. Note: M1 passes this through to the wire as-is; client-side cumulative merging (incremental_output=false semantics for models without server support) arrives with M2. -
getParameters
Passthrough into the wireparametersobject (unknown/vendor-specific knobs). -
getExtraInput
Passthrough into the wireinputobject.
-