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