Class ScaleAnswer.Builder
java.lang.Object
dev.langchain4j.model.decision.response.ScaleAnswer.Builder
- Enclosing class:
ScaleAnswer
- Since:
- 1.21.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()confidence(Double confidence) probabilities(List<Double> probabilities) Sets the probability of each level, ordered from the lowest level to the highest.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mean
-
probabilities
Sets the probability of each level, ordered from the lowest level to the highest. -
confidence
-
build
-