Class ThresholdContext
java.lang.Object
dev.langchain4j.service.decision.ThresholdContext
The question a
ThresholdProvider is asked the threshold for.- Since:
- 1.21.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ThresholdContext.Builderbuilder()booleaninthashCode()method()The method that is invoked.The name of the model that answered the question, as reported by the provider (which can be more specific than the requested name, for example a pinned version instead of an alias).The name of the question: the name of the method, or the name of the field for methods returning an object.Class<?> The decision service interface.toString()
-
Method Details
-
serviceInterface
The decision service interface. -
method
The method that is invoked. -
questionName
The name of the question: the name of the method, or the name of the field for methods returning an object. -
modelName
The name of the model that answered the question, as reported by the provider (which can be more specific than the requested name, for example a pinned version instead of an alias). If the provider does not report it, the requested model name, ornullif it is not known. -
builder
-
equals
-
hashCode
-
toString
-