Uses of Class
dev.langchain4j.model.decision.response.YesNoAnswer
Packages that use YesNoAnswer
-
Uses of YesNoAnswer in dev.langchain4j.model.decision.response
Methods in dev.langchain4j.model.decision.response that return YesNoAnswerModifier and TypeMethodDescriptionYesNoAnswer.Builder.build()static YesNoAnswerYesNoAnswer.from(double probability) Creates an answer with the given probability of "yes", from 0 to 1.static YesNoAnswerYesNoAnswer.of(double probability) Deprecated, for removal: This API element is subject to removal in a future version.Returns the answer to theYesNoQuestionwith the given name.
YesNoAnswer.from(double)instead