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 deleted:
- schemas.GoogleCloudAiplatformV1beta1Candidate.properties.score (Total Keys: 3)

The following keys were added:
- schemas.GoogleCloudAiplatformV1beta1Retrieval.properties.disableAttribution.deprecated (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jul 25, 2024
1 parent 0e0445b commit 18f788f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ <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;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
&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.
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
},
Expand Down Expand Up @@ -477,7 +477,7 @@ <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;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
&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.
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
},
Expand Down Expand Up @@ -613,7 +613,6 @@ <h3>Method Details</h3>
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
&quot;score&quot;: 3.14, # Output only. Confidence score of the candidate.
},
],
&quot;promptFeedback&quot;: { # Content filter results for a prompt sent in the request. # Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
Expand Down Expand Up @@ -838,7 +837,7 @@ <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;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
&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.
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
},
Expand Down Expand Up @@ -974,7 +973,6 @@ <h3>Method Details</h3>
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
&quot;score&quot;: 3.14, # Output only. Confidence score of the candidate.
},
],
&quot;promptFeedback&quot;: { # Content filter results for a prompt sent in the request. # Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.
Expand Down
27 changes: 11 additions & 16 deletions googleapiclient/discovery_cache/documents/firebaseml.v2beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
}
}
},
"revision": "20240705",
"revision": "20240722",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Date": {
Expand Down Expand Up @@ -282,14 +282,14 @@
],
"enumDescriptions": [
"The finish reason is unspecified.",
"Natural stop point of the model or provided stop sequence.",
"The maximum number of tokens as specified in the request was reached.",
"The token generation was stopped as the response was flagged for safety reasons. NOTE: When streaming the Candidate.content will be empty if content filters blocked the output.",
"The token generation was stopped as the response was flagged for unauthorized citations.",
"All other reasons that stopped the token generation",
"The token generation was stopped as the response was flagged for the terms which are included from the terminology blocklist.",
"The token generation was stopped as the response was flagged for the prohibited contents.",
"The token generation was stopped as the response was flagged for Sensitive Personally Identifiable Information (SPII) contents.",
"Token generation reached a natural stopping point or a configured stop sequence.",
"Token generation reached the configured maximum output tokens.",
"Token generation stopped because the content potentially contains safety violations. NOTE: When streaming, Candidate.content is empty if content filters blocks the output.",
"Token generation stopped because the content potentially contains copyright violations.",
"All other reasons that stopped the token generation.",
"Token generation stopped because the content contains forbidden terms.",
"Token generation stopped for potentially containing prohibited content.",
"Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII).",
"The function call generated by the model is invalid."
],
"readOnly": true,
Expand All @@ -313,12 +313,6 @@
},
"readOnly": true,
"type": "array"
},
"score": {
"description": "Output only. Confidence score of the candidate.",
"format": "double",
"readOnly": true,
"type": "number"
}
},
"type": "object"
Expand Down Expand Up @@ -892,7 +886,8 @@
"id": "GoogleCloudAiplatformV1beta1Retrieval",
"properties": {
"disableAttribution": {
"description": "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.",
"deprecated": true,
"description": "Optional. Deprecated. This option is no longer supported.",
"type": "boolean"
},
"vertexAiSearch": {
Expand Down

0 comments on commit 18f788f

Please sign in to comment.