Uses of Interface
org.springframework.ai.decision.answer.DecisionAnswer
Packages that use DecisionAnswer
Package
Description
Provides the decision model API: typed questions answered with probabilities.
Provides the answers a decision model gives.
-
Uses of DecisionAnswer in org.springframework.ai.decision
Methods in org.springframework.ai.decision with type parameters of type DecisionAnswerModifier and TypeMethodDescription<A extends DecisionAnswer>
AThe answer to the given question, as the given type.Methods in org.springframework.ai.decision that return DecisionAnswerMethods in org.springframework.ai.decision that return types with arguments of type DecisionAnswerModifier and TypeMethodDescriptionDecisionResponse.getAnswers()The answers, keyed by question name, in the order the questions were asked.Methods in org.springframework.ai.decision with parameters of type DecisionAnswerModifier and TypeMethodDescriptionDecisionResponse.Builder.answer(String name, DecisionAnswer answer) Add the answer to a question.DecisionResponse.Builder.answer(String name, DecisionAnswer answer, DecisionResultMetadata metadata) Add the answer to a question, with metadata about that answer.Method parameters in org.springframework.ai.decision with type arguments of type DecisionAnswerModifier and TypeMethodDescriptionDecisionResponse.Builder.answers(Map<String, ? extends DecisionAnswer> answers) -
Uses of DecisionAnswer in org.springframework.ai.decision.answer
Classes in org.springframework.ai.decision.answer that implement DecisionAnswerModifier and TypeClassDescriptionfinal classThe answer to aChoiceQuestion: the selected option, the probability of each option when the provider reports them, and the provider's confidence when it reports one.final classThe answer to a question the provider explicitly declined to answer.final classThe 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.final classThe answer to aYesNoQuestion: the probability that the answer is yes.