Skip to content

Commit ebcf3f5

Browse files
Google APIscopybara-github
authored andcommitted
feat: add exclude_domains for grounding with GoogleSearch and EnterpriseWebSearch
PiperOrigin-RevId: 790759548
1 parent eb6d57b commit ebcf3f5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

google/cloud/aiplatform/v1/tool.proto

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ option ruby_package = "Google::Cloud::AIPlatform::V1";
4040
message Tool {
4141
// GoogleSearch tool type.
4242
// Tool to support Google Search in Model. Powered by Google.
43-
message GoogleSearch {}
43+
message GoogleSearch {
44+
// Optional. List of domains to be excluded from the search results.
45+
// The default limit is 2000 domains.
46+
// Example: ["amazon.com", "facebook.com"].
47+
repeated string exclude_domains = 3
48+
[(google.api.field_behavior) = OPTIONAL];
49+
}
4450

4551
// Tool that executes code generated by the model, and automatically returns
4652
// the result to the model.
@@ -367,7 +373,11 @@ message GoogleSearchRetrieval {
367373

368374
// Tool to search public web data, powered by Vertex AI Search and Sec4
369375
// compliance.
370-
message EnterpriseWebSearch {}
376+
message EnterpriseWebSearch {
377+
// Optional. List of domains to be excluded from the search results.
378+
// The default limit is 2000 domains.
379+
repeated string exclude_domains = 1 [(google.api.field_behavior) = OPTIONAL];
380+
}
371381

372382
// Describes the options to customize dynamic retrieval.
373383
message DynamicRetrievalConfig {

0 commit comments

Comments
 (0)