Class DefaultDecisionRequestParameters
java.lang.Object
dev.langchain4j.model.decision.request.DefaultDecisionRequestParameters
- All Implemented Interfaces:
DecisionRequestParameters
@Experimental
public class DefaultDecisionRequestParameters
extends Object
implements DecisionRequestParameters
The default implementation of
DecisionRequestParameters. Provider integrations extend this class (and its
self-typed DefaultDecisionRequestParameters.Builder) to add provider-specific parameters.- Since:
- 1.21.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface DecisionRequestParameters
EMPTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultDecisionRequestParameters.Builder<?> builder()booleaninthashCode()The name of the model to use for this request, ornullif not set (the model then uses its own configured default).Creates new parameters by combining these parameters with the specified ones.toString()
-
Constructor Details
-
DefaultDecisionRequestParameters
-
-
Method Details
-
modelName
Description copied from interface:DecisionRequestParametersThe name of the model to use for this request, ornullif not set (the model then uses its own configured default).- Specified by:
modelNamein interfaceDecisionRequestParameters
-
overrideWith
Description copied from interface:DecisionRequestParametersCreates new parameters by combining these parameters with the specified ones. Values fromthatoverride these when both set the same parameter. Neither instance is modified.- Specified by:
overrideWithin interfaceDecisionRequestParameters- Parameters:
that- the parameters whose values will override these ones, may benull.- Returns:
- new combined parameters.
-
equals
-
hashCode
-
toString
-
builder
-