MagnitudeScoringParameters Class

Provides parameter values to a magnitude scoring function.

All required parameters must be populated in order to send to Azure.

Inheritance
MagnitudeScoringParameters

Constructor

MagnitudeScoringParameters(*, boosting_range_start: float, boosting_range_end: float, should_boost_beyond_range_by_constant: Optional[bool] = None, **kwargs)

Parameters

boosting_range_start
float
Required

Required. The field value at which boosting starts.

boosting_range_end
float
Required

Required. The field value at which boosting ends.

should_boost_beyond_range_by_constant
bool
Required

A value indicating whether to apply a constant boost for field values beyond the range end value; default is false.