Skip to content

Commit

Permalink
feat(firebaseml): update the api
Browse files Browse the repository at this point in the history
#### firebaseml:v2beta

The following keys were added:
- schemas.GoogleSearchRetrieval (Total Keys: 2)
- schemas.Tool.properties.googleSearchRetrieval.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed May 10, 2024
1 parent 5cc51d9 commit 2a94e44
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ <h3>Method Details</h3>
},
},
],
&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.
},
&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.
&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.
&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.
Expand Down Expand Up @@ -627,6 +629,8 @@ <h3>Method Details</h3>
},
},
],
&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.
},
&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.
&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.
&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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
}
}
},
"revision": "20240503",
"revision": "20240508",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
}
}
},
"revision": "20240503",
"revision": "20240508",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"DownloadModelResponse": {
Expand Down
12 changes: 11 additions & 1 deletion googleapiclient/discovery_cache/documents/firebaseml.v2beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
}
}
},
"revision": "20240503",
"revision": "20240508",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Blob": {
Expand Down Expand Up @@ -668,6 +668,12 @@
},
"type": "object"
},
"GoogleSearchRetrieval": {
"description": "Tool to retrieve public web data for grounding, powered by Google.",
"id": "GoogleSearchRetrieval",
"properties": {},
"type": "object"
},
"GroundingMetadata": {
"description": "Metadata returned to client when grounding is enabled.",
"id": "GroundingMetadata",
Expand Down Expand Up @@ -1111,6 +1117,10 @@
},
"type": "array"
},
"googleSearchRetrieval": {
"$ref": "GoogleSearchRetrieval",
"description": "Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search."
},
"retrieval": {
"$ref": "Retrieval",
"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."
Expand Down

0 comments on commit 2a94e44

Please sign in to comment.