Google Cloud Ai Platform V1 Client - Class DynamicRetrievalConfig (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DynamicRetrievalConfig.

Describes the options to customize dynamic retrieval.

Generated from protobuf message google.cloud.aiplatform.v1.DynamicRetrievalConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mode int

The mode of the predictor to be used in dynamic retrieval.

↳ dynamic_threshold float

Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.

getMode

The mode of the predictor to be used in dynamic retrieval.

Returns
Type Description
int

setMode

The mode of the predictor to be used in dynamic retrieval.

Parameter
Name Description
var int
Returns
Type Description
$this

getDynamicThreshold

Optional. The threshold to be used in dynamic retrieval.

If not set, a system default value is used.

Returns
Type Description
float

hasDynamicThreshold

clearDynamicThreshold

setDynamicThreshold

Optional. The threshold to be used in dynamic retrieval.

If not set, a system default value is used.

Parameter
Name Description
var float
Returns
Type Description
$this