Interface DynamicRetrievalConfigOrBuilder (1.36.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface DynamicRetrievalConfigOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getDynamicThreshold()
publicabstractfloatgetDynamicThreshold()Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
float |
The dynamicThreshold. |
getMode()
publicabstractDynamicRetrievalConfig.ModegetMode()The mode of the predictor to be used in dynamic retrieval.
.google.cloud.vertexai.v1.DynamicRetrievalConfig.Mode mode = 1;
| Returns | |
|---|---|
| Type | Description |
DynamicRetrievalConfig.Mode |
The mode. |
getModeValue()
publicabstractintgetModeValue()The mode of the predictor to be used in dynamic retrieval.
.google.cloud.vertexai.v1.DynamicRetrievalConfig.Mode mode = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |
hasDynamicThreshold()
publicabstractbooleanhasDynamicThreshold()Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dynamicThreshold field is set. |