Skip to content

Commit 18f788f

Browse files
feat(firebaseml): update the api
#### 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)
1 parent 0e0445b commit 18f788f

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h3>Method Details</h3>
239239
&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.
240240
},
241241
&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.
242-
&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.
242+
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
243243
&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.
244244
&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}`
245245
},
@@ -477,7 +477,7 @@ <h3>Method Details</h3>
477477
&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.
478478
},
479479
&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.
480-
&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.
480+
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
481481
&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.
482482
&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}`
483483
},
@@ -613,7 +613,6 @@ <h3>Method Details</h3>
613613
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
614614
},
615615
],
616-
&quot;score&quot;: 3.14, # Output only. Confidence score of the candidate.
617616
},
618617
],
619618
&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.
@@ -838,7 +837,7 @@ <h3>Method Details</h3>
838837
&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.
839838
},
840839
&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.
841-
&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.
840+
&quot;disableAttribution&quot;: True or False, # Optional. Deprecated. This option is no longer supported.
842841
&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.
843842
&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}`
844843
},
@@ -974,7 +973,6 @@ <h3>Method Details</h3>
974973
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
975974
},
976975
],
977-
&quot;score&quot;: 3.14, # Output only. Confidence score of the candidate.
978976
},
979977
],
980978
&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.

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20240705",
209+
"revision": "20240722",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -282,14 +282,14 @@
282282
],
283283
"enumDescriptions": [
284284
"The finish reason is unspecified.",
285-
"Natural stop point of the model or provided stop sequence.",
286-
"The maximum number of tokens as specified in the request was reached.",
287-
"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.",
288-
"The token generation was stopped as the response was flagged for unauthorized citations.",
289-
"All other reasons that stopped the token generation",
290-
"The token generation was stopped as the response was flagged for the terms which are included from the terminology blocklist.",
291-
"The token generation was stopped as the response was flagged for the prohibited contents.",
292-
"The token generation was stopped as the response was flagged for Sensitive Personally Identifiable Information (SPII) contents.",
285+
"Token generation reached a natural stopping point or a configured stop sequence.",
286+
"Token generation reached the configured maximum output tokens.",
287+
"Token generation stopped because the content potentially contains safety violations. NOTE: When streaming, Candidate.content is empty if content filters blocks the output.",
288+
"Token generation stopped because the content potentially contains copyright violations.",
289+
"All other reasons that stopped the token generation.",
290+
"Token generation stopped because the content contains forbidden terms.",
291+
"Token generation stopped for potentially containing prohibited content.",
292+
"Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII).",
293293
"The function call generated by the model is invalid."
294294
],
295295
"readOnly": true,
@@ -313,12 +313,6 @@
313313
},
314314
"readOnly": true,
315315
"type": "array"
316-
},
317-
"score": {
318-
"description": "Output only. Confidence score of the candidate.",
319-
"format": "double",
320-
"readOnly": true,
321-
"type": "number"
322316
}
323317
},
324318
"type": "object"
@@ -892,7 +886,8 @@
892886
"id": "GoogleCloudAiplatformV1beta1Retrieval",
893887
"properties": {
894888
"disableAttribution": {
895-
"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.",
889+
"deprecated": true,
890+
"description": "Optional. Deprecated. This option is no longer supported.",
896891
"type": "boolean"
897892
},
898893
"vertexAiSearch": {

0 commit comments

Comments
 (0)