Uses of Class
org.springframework.ai.decision.DecisionResponse
Packages that use DecisionResponse
Package
Description
Provides the decision model API: typed questions answered with probabilities.
Provides the System One implementation of the Spring AI
DecisionModel API, with
the client of the /v1/systemone protocol in the api package.-
Uses of DecisionResponse in org.springframework.ai.decision
Methods in org.springframework.ai.decision that return DecisionResponseModifier and TypeMethodDescriptionDecisionResponse.Builder.build()Build the response, with the results in the order of the prompt's questions.default DecisionResponseDecisionModel.call(String text, Map<String, ? extends DecisionQuestion> questions) Ask the given questions about a text, with the model's default options.DecisionModel.call(DecisionPrompt prompt) default DecisionResponseDecisionModel.call(DecisionInput input, Map<String, ? extends DecisionQuestion> questions) Ask the given questions about an input, with the model's default options. -
Uses of DecisionResponse in org.springframework.ai.ollama
Methods in org.springframework.ai.ollama that return DecisionResponse -
Uses of DecisionResponse in org.springframework.ai.openai
Methods in org.springframework.ai.openai that return DecisionResponse -
Uses of DecisionResponse in org.springframework.ai.rag.postretrieval.document
Methods in org.springframework.ai.rag.postretrieval.document with parameters of type DecisionResponseModifier and TypeMethodDescriptionDecisionDocumentFilter.classify(DecisionResponse response) Applies the thresholds to one response. -
Uses of DecisionResponse in org.springframework.ai.systemone
Methods in org.springframework.ai.systemone that return DecisionResponseModifier and TypeMethodDescriptionSystemOneDecisionModel.call(DecisionPrompt prompt) static DecisionResponseSystemOneDecisionMapper.response(DecisionPrompt prompt, SystemOneResponse response) Map a System One response to a decision response for the given prompt.