Class DecisionCreateParams
java.lang.Object
com.alibaba.dashscope.types.decision.DecisionCreateParams
Parameters for
decision().create. Builder validates required fields and typed-question
criteria at build() (design §3); DecisionQuestion.raw questions pass through
unvalidated. Wire shape: {model, state, questions:{id: {type, instructions?, criteria?}}}
— no input/parameters envelope on this compatible-mode endpoint.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DecisionCreateParams.Builderbuilder()getModel()The questions to answer; keys are caller-defined question ids mirrored in the answers.getState()The business state under decision: free text (String), a structured object (Map), or a list — serialized verbatim.
-
Method Details
-
builder
-
getModel
-
getState
The business state under decision: free text (String), a structured object (Map), or a list — serialized verbatim. -
getQuestions
The questions to answer; keys are caller-defined question ids mirrored in the answers.
-