Uses of Package
dev.langchain4j.service.decision
Packages that use dev.langchain4j.service.decision
Package
Description
-
Classes in dev.langchain4j.service.decision used by dev.langchain4j.service.decisionClassDescriptionThe answer to a question of a decision service that chooses one of several options: the chosen option, the probability of each option and, if the model reports one, a confidence.The result of a decision service method together with the underlying
DecisionResponse, which gives access to the raw answers (including probabilities), the model name and the token usage.Builds decision services.The answer to a question of a decision service that places the input on an ordered scale: the mean level, the probability of each level and, if the model reports one, a confidence.The question aThresholdProvideris asked the threshold for.Provides the threshold forbooleananswers of a decision service: the answer istruewhen the probability of "yes" is greater than or equal to the threshold. -
Classes in dev.langchain4j.service.decision used by dev.langchain4j.service.decision.internalClassDescriptionProvides the threshold for
booleananswers of a decision service: the answer istruewhen the probability of "yes" is greater than or equal to the threshold. -
Classes in dev.langchain4j.service.decision used by dev.langchain4j.spi.services