Uses of Class
com.alibaba.dashscope.legacy_2x.decision.DecisionAnswer.DecisionAnswerBuilder
Packages that use DecisionAnswer.DecisionAnswerBuilder
Package
Description
2.x frozen package: kept for backward compatibility; bug fixes only, no new features.
-
Uses of DecisionAnswer.DecisionAnswerBuilder in com.alibaba.dashscope.legacy_2x.decision
Methods in com.alibaba.dashscope.legacy_2x.decision that return DecisionAnswer.DecisionAnswerBuilderModifier and TypeMethodDescriptionDecisionAnswer.builder()Deprecated.The selected option name, only for choice questions.DecisionAnswer.DecisionAnswerBuilder.confidence(Double confidence) The confidence of the answer, for choice and score questions.Level index to level description, only for score questions.P(yes) in [0, 1], only for noul questions.DecisionAnswer.DecisionAnswerBuilder.probabilities(Map<String, Double> probabilities) The probability of each option or level; sums to 1.Probability-weighted expectation of the level index, only for score questions.The question type, one of choice/noul/score.