Uses of Package
org.springframework.ai.decision.answer
Packages that use org.springframework.ai.decision.answer
Package
Description
Provides the decision model API: typed questions answered with probabilities.
Provides the answers a decision model gives.
-
Classes in org.springframework.ai.decision.answer used by org.springframework.ai.decisionClassDescriptionThe answer to a
ChoiceQuestion: the selected option, the probability of each option when the provider reports them, and the provider's confidence when it reports one.The answer aDecisionModelgives to aDecisionQuestion: aYesNoAnswer, aChoiceAnsweror aScoreAnswermatching the kind of the question, or aRefusalAnswerwhen the provider declined to answer it.The answer to aScoreQuestion: the expected level, as a value between 0 andlevels - 1that weighs each level by its probability, the probability of each level when the provider reports them, and the provider's confidence when it reports one.The answer to aYesNoQuestion: the probability that the answer is yes. -
Classes in org.springframework.ai.decision.answer used by org.springframework.ai.decision.answerClassDescriptionThe answer to a
ChoiceQuestion: the selected option, the probability of each option when the provider reports them, and the provider's confidence when it reports one.The answer aDecisionModelgives to aDecisionQuestion: aYesNoAnswer, aChoiceAnsweror aScoreAnswermatching the kind of the question, or aRefusalAnswerwhen the provider declined to answer it.The answer to a question the provider explicitly declined to answer.The answer to aScoreQuestion: the expected level, as a value between 0 andlevels - 1that weighs each level by its probability, the probability of each level when the provider reports them, and the provider's confidence when it reports one.The answer to aYesNoQuestion: the probability that the answer is yes.