Skip to content

Commit 625dfd9

Browse files
feat(firebaseml): update the api
#### firebaseml:v2beta The following keys were deleted: - schemas.GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig.properties.enableThinking.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudAiplatformV1beta1SpeechConfig.properties.languageCode.type (Total Keys: 1)
1 parent 007e562 commit 625dfd9

File tree

2 files changed

+43
-27
lines changed

2 files changed

+43
-27
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Method Details</h3>
120120
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
121121
},
122122
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
123-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
123+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
124124
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
125125
},
126126
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -204,11 +204,12 @@ <h3>Method Details</h3>
204204
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
205205
},
206206
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
207-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
207+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
208208
},
209209
},
210210
&quot;seed&quot;: 42, # Optional. Seed.
211211
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
212+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
212213
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
213214
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
214215
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -220,7 +221,6 @@ <h3>Method Details</h3>
220221
],
221222
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
222223
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
223-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
224224
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
225225
},
226226
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -247,7 +247,7 @@ <h3>Method Details</h3>
247247
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
248248
},
249249
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
250-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
250+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
251251
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
252252
},
253253
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -392,7 +392,7 @@ <h3>Method Details</h3>
392392
},
393393
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
394394
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
395-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
395+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
396396
},
397397
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
398398
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -457,7 +457,7 @@ <h3>Method Details</h3>
457457
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
458458
},
459459
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
460-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
460+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
461461
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
462462
},
463463
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -541,11 +541,12 @@ <h3>Method Details</h3>
541541
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
542542
},
543543
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
544-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
544+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
545545
},
546546
},
547547
&quot;seed&quot;: 42, # Optional. Seed.
548548
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
549+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
549550
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
550551
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
551552
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -557,7 +558,6 @@ <h3>Method Details</h3>
557558
],
558559
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
559560
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
560-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
561561
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
562562
},
563563
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -590,7 +590,7 @@ <h3>Method Details</h3>
590590
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
591591
},
592592
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
593-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
593+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
594594
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
595595
},
596596
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -750,7 +750,7 @@ <h3>Method Details</h3>
750750
},
751751
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
752752
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
753-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
753+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
754754
},
755755
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
756756
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -811,7 +811,7 @@ <h3>Method Details</h3>
811811
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
812812
},
813813
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
814-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
814+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
815815
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
816816
},
817817
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1008,7 +1008,7 @@ <h3>Method Details</h3>
10081008
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
10091009
},
10101010
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1011-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1011+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
10121012
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
10131013
},
10141014
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1092,11 +1092,12 @@ <h3>Method Details</h3>
10921092
&quot;modelRoutingPreference&quot;: &quot;A String&quot;, # The model routing preference.
10931093
},
10941094
&quot;manualMode&quot;: { # When manual routing is set, the specified model will be used directly. # Manual routing.
1095-
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. e.g. &#x27;gemini-1.5-pro-001&#x27;.
1095+
&quot;modelName&quot;: &quot;A String&quot;, # The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
10961096
},
10971097
},
10981098
&quot;seed&quot;: 42, # Optional. Seed.
10991099
&quot;speechConfig&quot;: { # The speech generation config. # Optional. The speech generation config.
1100+
&quot;languageCode&quot;: &quot;A String&quot;, # Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
11001101
&quot;voiceConfig&quot;: { # The configuration for the voice to use. # The configuration for the speaker to use.
11011102
&quot;prebuiltVoiceConfig&quot;: { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
11021103
&quot;voiceName&quot;: &quot;A String&quot;, # The name of the preset voice to use.
@@ -1108,7 +1109,6 @@ <h3>Method Details</h3>
11081109
],
11091110
&quot;temperature&quot;: 3.14, # Optional. Controls the randomness of predictions.
11101111
&quot;thinkingConfig&quot;: { # Config for thinking features. # Optional. Config for thinking features. An error will be returned if this field is set for models that don&#x27;t support thinking.
1111-
&quot;enableThinking&quot;: True or False, # Optional. Indicates whether to enable thinking mode. If true, the model will enable thinking mode.
11121112
&quot;thinkingBudget&quot;: 42, # Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
11131113
},
11141114
&quot;topK&quot;: 3.14, # Optional. If specified, top-k sampling will be used.
@@ -1141,7 +1141,7 @@ <h3>Method Details</h3>
11411141
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
11421142
},
11431143
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1144-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1144+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
11451145
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
11461146
},
11471147
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
@@ -1301,7 +1301,7 @@ <h3>Method Details</h3>
13011301
},
13021302
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
13031303
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1304-
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1304+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).
13051305
},
13061306
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
13071307
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
@@ -1362,7 +1362,7 @@ <h3>Method Details</h3>
13621362
&quot;mimeType&quot;: &quot;A String&quot;, # Required. The IANA standard MIME type of the source data.
13631363
},
13641364
&quot;functionCall&quot;: { # A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values. # Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.
1365-
&quot;args&quot;: { # Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
1365+
&quot;args&quot;: { # Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
13661366
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
13671367
},
13681368
&quot;id&quot;: &quot;A String&quot;, # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.

0 commit comments

Comments
 (0)