Skip to content

Commit e788b57

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1RetrievalConfig (Total Keys: 4) - schemas.GoogleCloudAiplatformV1beta1ToolConfig.properties.retrievalConfig.$ref (Total Keys: 1) - schemas.LatLng (Total Keys: 6)
1 parent 79e1bcb commit e788b57

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,13 @@ <h3>Method Details</h3>
586586
],
587587
&quot;mode&quot;: &quot;A String&quot;, # Optional. Function calling mode.
588588
},
589+
&quot;retrievalConfig&quot;: { # Retrieval config. # Optional. Retrieval config.
590+
&quot;languageCode&quot;: &quot;A String&quot;, # The language code of the user.
591+
&quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # The location of the user.
592+
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
593+
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
594+
},
595+
},
589596
},
590597
&quot;tools&quot;: [ # Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
591598
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
@@ -1071,6 +1078,13 @@ <h3>Method Details</h3>
10711078
],
10721079
&quot;mode&quot;: &quot;A String&quot;, # Optional. Function calling mode.
10731080
},
1081+
&quot;retrievalConfig&quot;: { # Retrieval config. # Optional. Retrieval config.
1082+
&quot;languageCode&quot;: &quot;A String&quot;, # The language code of the user.
1083+
&quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # The location of the user.
1084+
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
1085+
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
1086+
},
1087+
},
10741088
},
10751089
&quot;tools&quot;: [ # Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
10761090
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20241217",
209+
"revision": "20241231",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -1307,6 +1307,21 @@
13071307
},
13081308
"type": "object"
13091309
},
1310+
"GoogleCloudAiplatformV1beta1RetrievalConfig": {
1311+
"description": "Retrieval config.",
1312+
"id": "GoogleCloudAiplatformV1beta1RetrievalConfig",
1313+
"properties": {
1314+
"languageCode": {
1315+
"description": "The language code of the user.",
1316+
"type": "string"
1317+
},
1318+
"latLng": {
1319+
"$ref": "LatLng",
1320+
"description": "The location of the user."
1321+
}
1322+
},
1323+
"type": "object"
1324+
},
13101325
"GoogleCloudAiplatformV1beta1RetrievalMetadata": {
13111326
"description": "Metadata related to retrieval in the grounding flow.",
13121327
"id": "GoogleCloudAiplatformV1beta1RetrievalMetadata",
@@ -1699,6 +1714,10 @@
16991714
"functionCallingConfig": {
17001715
"$ref": "GoogleCloudAiplatformV1beta1FunctionCallingConfig",
17011716
"description": "Optional. Function calling config."
1717+
},
1718+
"retrievalConfig": {
1719+
"$ref": "GoogleCloudAiplatformV1beta1RetrievalConfig",
1720+
"description": "Optional. Retrieval config."
17021721
}
17031722
},
17041723
"type": "object"
@@ -1804,6 +1823,23 @@
18041823
},
18051824
"type": "object"
18061825
},
1826+
"LatLng": {
1827+
"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.",
1828+
"id": "LatLng",
1829+
"properties": {
1830+
"latitude": {
1831+
"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
1832+
"format": "double",
1833+
"type": "number"
1834+
},
1835+
"longitude": {
1836+
"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
1837+
"format": "double",
1838+
"type": "number"
1839+
}
1840+
},
1841+
"type": "object"
1842+
},
18071843
"ModelOperationMetadata": {
18081844
"description": "This is returned in the longrunning operations for create/update.",
18091845
"id": "ModelOperationMetadata",

0 commit comments

Comments
 (0)