Skip to content

Commit bb97577

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1GenerationConfig.properties.routingConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig (Total Keys: 10)
1 parent 29dbaaf commit bb97577

File tree

2 files changed

+70
-1
lines changed

2 files changed

+70
-1
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,14 @@ <h3>Method Details</h3>
356356
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
357357
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
358358
},
359+
&quot;routingConfig&quot;: { # Routing config. # Optional. Routing configuration.
360+
&quot;autoMode&quot;: { # When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # Automated routing.
361+
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
362+
},
363+
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
364+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.
365+
},
366+
},
359367
&quot;stopSequences&quot;: [ # Optional. Stop sequences.
360368
&quot;A String&quot;,
361369
],
@@ -716,6 +724,14 @@ <h3>Method Details</h3>
716724
&quot;title&quot;: &quot;A String&quot;, # Optional. The title of the Schema.
717725
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the data.
718726
},
727+
&quot;routingConfig&quot;: { # Routing config. # Optional. Routing configuration.
728+
&quot;autoMode&quot;: { # When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference. # Automated routing.
729+
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
730+
},
731+
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
732+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.
733+
},
734+
},
719735
&quot;stopSequences&quot;: [ # Optional. Stop sequences.
720736
&quot;A String&quot;,
721737
],

googleapiclient/discovery_cache/documents/firebaseml.v2beta.json

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20240722",
209+
"revision": "20240724",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -708,6 +708,10 @@
708708
"$ref": "GoogleCloudAiplatformV1beta1Schema",
709709
"description": "Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response."
710710
},
711+
"routingConfig": {
712+
"$ref": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig",
713+
"description": "Optional. Routing configuration."
714+
},
711715
"stopSequences": {
712716
"description": "Optional. Stop sequences.",
713717
"items": {
@@ -733,6 +737,55 @@
733737
},
734738
"type": "object"
735739
},
740+
"GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig": {
741+
"description": "Routing config.",
742+
"id": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig",
743+
"properties": {
744+
"autoMode": {
745+
"$ref": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode",
746+
"description": "Automated routing."
747+
},
748+
"manualMode": {
749+
"$ref": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode",
750+
"description": "Manual routing."
751+
}
752+
},
753+
"type": "object"
754+
},
755+
"GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode": {
756+
"description": "When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.",
757+
"id": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode",
758+
"properties": {
759+
"modelRoutingPreference": {
760+
"description": "The model routing preference.",
761+
"enum": [
762+
"UNKNOWN",
763+
"PRIORITIZE_QUALITY",
764+
"BALANCED",
765+
"PRIORITIZE_COST"
766+
],
767+
"enumDescriptions": [
768+
"Unspecified model routing preference.",
769+
"Prefer higher quality over low cost.",
770+
"Balanced model routing preference.",
771+
"Prefer lower cost over higher quality."
772+
],
773+
"type": "string"
774+
}
775+
},
776+
"type": "object"
777+
},
778+
"GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode": {
779+
"description": "When manual routing is set, the specified model will be used directly.",
780+
"id": "GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode",
781+
"properties": {
782+
"modelName": {
783+
"description": "The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.",
784+
"type": "string"
785+
}
786+
},
787+
"type": "object"
788+
},
736789
"GoogleCloudAiplatformV1beta1GoogleSearchRetrieval": {
737790
"description": "Tool to retrieve public web data for grounding, powered by Google.",
738791
"id": "GoogleCloudAiplatformV1beta1GoogleSearchRetrieval",

0 commit comments

Comments
 (0)