Package com.google.genai.types
Class ModelSelectionConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ModelSelectionConfig
Config for model selection.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for ModelSelectionConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSelectionConfig.Builder
builder()
Instantiates a builder for ModelSelectionConfig.abstract Optional<FeatureSelectionPreference>
Options for feature selection preference.static ModelSelectionConfig
Deserializes a JSON string to a ModelSelectionConfig object.abstract ModelSelectionConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ModelSelectionConfig
public ModelSelectionConfig()
-
-
Method Details
-
featureSelectionPreference
Options for feature selection preference. -
builder
Instantiates a builder for ModelSelectionConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ModelSelectionConfig object.
-