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 \ V1Methods
__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 |
Enum of type Mode. |
setMode
The mode of the predictor to be used in dynamic retrieval.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Mode. |
| 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 |
|