Interface ScoringRequestParameters
- All Known Implementing Classes:
DefaultScoringRequestParameters
The per-call parameters of a
ScoringRequest, such as the modelName() to use. Provider
integrations can extend this interface (via DefaultScoringRequestParameters and its self-typed builder)
to add provider-specific parameters.- Since:
- 1.20.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScoringRequestParametersEmpty parameters — nothing is set. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultScoringRequestParameters.Builder<?> builder()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.
-
Field Details
-
EMPTY
Empty parameters — nothing is set.
-
-
Method Details
-
modelName
String modelName()The name of the model to use for this request, ornullif not set (the model then uses its own configured default). -
overrideWith
Creates a newScoringRequestParametersby combining these parameters with the specified ones. Values fromthatoverride these when both set the same parameter. Neither instance is modified.- Parameters:
that- the parameters whose values will override these ones, may benull.- Returns:
- a new combined
ScoringRequestParameters.
-
builder
-