Skip to content

Commit 2a94e44

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were added: - schemas.GoogleSearchRetrieval (Total Keys: 2) - schemas.Tool.properties.googleSearchRetrieval.$ref (Total Keys: 1)
1 parent 5cc51d9 commit 2a94e44

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ <h3>Method Details</h3>
325325
},
326326
},
327327
],
328+
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
329+
},
328330
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
329331
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
330332
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.
@@ -627,6 +629,8 @@ <h3>Method Details</h3>
627629
},
628630
},
629631
],
632+
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
633+
},
630634
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
631635
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
632636
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.

googleapiclient/discovery_cache/documents/firebaseml.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
}
205205
}
206206
},
207-
"revision": "20240503",
207+
"revision": "20240508",
208208
"rootUrl": "https://firebaseml.googleapis.com/",
209209
"schemas": {
210210
"CancelOperationRequest": {

googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
}
319319
}
320320
},
321-
"revision": "20240503",
321+
"revision": "20240508",
322322
"rootUrl": "https://firebaseml.googleapis.com/",
323323
"schemas": {
324324
"DownloadModelResponse": {

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20240503",
209+
"revision": "20240508",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Blob": {
@@ -668,6 +668,12 @@
668668
},
669669
"type": "object"
670670
},
671+
"GoogleSearchRetrieval": {
672+
"description": "Tool to retrieve public web data for grounding, powered by Google.",
673+
"id": "GoogleSearchRetrieval",
674+
"properties": {},
675+
"type": "object"
676+
},
671677
"GroundingMetadata": {
672678
"description": "Metadata returned to client when grounding is enabled.",
673679
"id": "GroundingMetadata",
@@ -1111,6 +1117,10 @@
11111117
},
11121118
"type": "array"
11131119
},
1120+
"googleSearchRetrieval": {
1121+
"$ref": "GoogleSearchRetrieval",
1122+
"description": "Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search."
1123+
},
11141124
"retrieval": {
11151125
"$ref": "Retrieval",
11161126
"description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation."

0 commit comments

Comments
 (0)