Package dev.langchain4j.model.decision.request
package dev.langchain4j.model.decision.request
-
ClassDescriptionA question that selects exactly one option out of a named set, answered with the chosen option and the probability of each option (see
ChoiceAnswer).A request to aDecisionModel: theDecisionRequest.input()to evaluate and the namedDecisionRequest.questions()to answer about it.The per-call parameters of aDecisionRequest, such as theDecisionRequestParameters.modelName()to use.The default implementation ofDecisionRequestParameters.A question asked to aDecisionModel.A question that places the input on an ordered scale, answered with the mean level and the probability of each level (seeScaleAnswer).A yes/no question, answered with the probability that the answer is "yes" (seeYesNoAnswer).