Class YesNoQuestion.Builder
java.lang.Object
dev.langchain4j.model.decision.request.YesNoQuestion.Builder
- Enclosing class:
YesNoQuestion
- Since:
- 1.21.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Describes when the answer should be "no" (seeYesNoQuestionfor how it combines with the question).Describes when the answer should be "yes" (seeYesNoQuestionfor how it combines with the question).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
-
yesWhen
Describes when the answer should be "yes" (seeYesNoQuestionfor how it combines with the question). -
noWhen
Describes when the answer should be "no" (seeYesNoQuestionfor how it combines with the question). -
build
-