Uses of Interface
org.springframework.ai.decision.question.DecisionQuestion
Packages that use DecisionQuestion
Package
Description
Provides the decision model API: typed questions answered with probabilities.
Provides the questions a decision model answers.
Provides the System One implementation of the Spring AI
DecisionModel API,
backed by the TypeSafe Java SDK and serving TypeSafe Jev, Laya and Ollama.-
Uses of DecisionQuestion in org.springframework.ai.decision
Methods in org.springframework.ai.decision that return types with arguments of type DecisionQuestionModifier and TypeMethodDescriptionDecisionPrompt.getQuestions()The questions to answer, keyed by name, in the order they were added.Methods in org.springframework.ai.decision with parameters of type DecisionQuestionModifier and TypeMethodDescriptionDecisionPrompt.Builder.question(String name, DecisionQuestion question) Add a question.Method parameters in org.springframework.ai.decision with type arguments of type DecisionQuestionModifier and TypeMethodDescriptiondefault DecisionResponseDecisionModel.call(String text, Map<String, ? extends DecisionQuestion> questions) Ask the given questions about a text, with the model's default options.default DecisionResponseDecisionModel.call(DecisionInput input, Map<String, ? extends DecisionQuestion> questions) Ask the given questions about an input, with the model's default options.DecisionPrompt.Builder.questions(Map<String, ? extends DecisionQuestion> questions) -
Uses of DecisionQuestion in org.springframework.ai.decision.question
Classes in org.springframework.ai.decision.question that implement DecisionQuestionModifier and TypeClassDescriptionfinal classA question answered by picking one of the offered options, as aChoiceAnswer.final classA question answered on an ordered scale of levels, as aScoreAnswer.final classA question with a yes or no answer, answered with the probability of "yes" as aYesNoAnswer. -
Uses of DecisionQuestion in org.springframework.ai.rag.postretrieval.document
Fields in org.springframework.ai.rag.postretrieval.document with type parameters of type DecisionQuestionModifier and TypeFieldDescriptionstatic final Map<String,DecisionQuestion> DecisionDocumentFilter.QUESTIONSThe four questions, in the order they are asked. -
Uses of DecisionQuestion in org.springframework.ai.systemone
Methods in org.springframework.ai.systemone with parameters of type DecisionQuestionModifier and TypeMethodDescriptionstatic org.springaicommunity.typesafe.question.QuestionSystemOneDecisionMapper.question(String name, DecisionQuestion question) Map a decision question to a System One question.