Package com.google.genai.types
Class DynamicRetrievalConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.DynamicRetrievalConfig
Describes the options to customize dynamic retrieval.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for DynamicRetrievalConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for DynamicRetrievalConfig.Optional.static DynamicRetrievalConfig
Deserializes a JSON string to a DynamicRetrievalConfig object.abstract Optional<DynamicRetrievalConfigMode>
mode()
The mode of the predictor to be used in dynamic retrieval.abstract DynamicRetrievalConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
DynamicRetrievalConfig
public DynamicRetrievalConfig()
-
-
Method Details
-
mode
The mode of the predictor to be used in dynamic retrieval. -
dynamicThreshold
Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. -
builder
Instantiates a builder for DynamicRetrievalConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a DynamicRetrievalConfig object.
-