Skip to content

Commit 4fa7f90

Browse files
Google APIscopybara-github
authored andcommitted
feat: add model_armor_config to GeminiExample
PiperOrigin-RevId: 867736163
1 parent 725496d commit 4fa7f90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

google/cloud/aiplatform/v1beta1/dataset_service.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -1151,6 +1151,11 @@ message GeminiExample {
11511151
repeated SafetySetting safety_settings = 3
11521152
[(google.api.field_behavior) = OPTIONAL];
11531153

1154+
// Optional. Settings for prompt and response sanitization using the Model
1155+
// Armor service. If supplied, safety_settings must not be supplied.
1156+
ModelArmorConfig model_armor_config = 11
1157+
[(google.api.field_behavior) = OPTIONAL];
1158+
11541159
// Optional. Generation config.
11551160
GenerationConfig generation_config = 4
11561161
[(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)