File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,6 +235,28 @@ message GenerationConfig {
235235 }
236236 }
237237
238+ // Config for model selection.
239+ message ModelConfig {
240+ // Options for feature selection preference.
241+ enum FeatureSelectionPreference {
242+ // Unspecified feature selection preference.
243+ FEATURE_SELECTION_PREFERENCE_UNSPECIFIED = 0 ;
244+
245+ // Prefer higher quality over lower cost.
246+ PRIORITIZE_QUALITY = 1 ;
247+
248+ // Balanced feature selection preference.
249+ BALANCED = 2 ;
250+
251+ // Prefer lower cost over higher quality.
252+ PRIORITIZE_COST = 3 ;
253+ }
254+
255+ // Required. Feature selection preference.
256+ FeatureSelectionPreference feature_selection_preference = 1
257+ [(google.api.field_behavior ) = REQUIRED ];
258+ }
259+
238260 // The modalities of the response.
239261 enum Modality {
240262 // Unspecified modality. Will be processed as text.
@@ -335,6 +357,9 @@ message GenerationConfig {
335357 // Optional. The speech generation config.
336358 optional SpeechConfig speech_config = 23
337359 [(google.api.field_behavior ) = OPTIONAL ];
360+
361+ // Optional. Config for model selection.
362+ ModelConfig model_config = 27 [(google.api.field_behavior ) = OPTIONAL ];
338363}
339364
340365// Safety settings.
You can’t perform that action at this time.
0 commit comments