Class ScaleQuestion.Builder
java.lang.Object
dev.langchain4j.model.decision.request.ScaleQuestion.Builder
- Enclosing class:
ScaleQuestion
- Since:
- 1.21.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Adds the next (higher) level, described with text.Adds the next (higher) level, with a label and a description of when it applies, for examplelevel("Angry", "Uses insults or threatens to cancel").Replaces all levels, ordered from lowest to highest.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
-
levels
Replaces all levels, ordered from lowest to highest. -
level
Adds the next (higher) level, described with text. -
level
Adds the next (higher) level, with a label and a description of when it applies, for examplelevel("Angry", "Uses insults or threatens to cancel").- Since:
- 1.22.0
-
build
-