Skip to content

Commit 6bf2a7b

Browse files
feat: Automated regeneration of AIPlatform client (googleapis#12205)
Auto-created at 2024-09-25 13:14:51 +0000 using the toys pull request generator.
1 parent b6e2f8c commit 6bf2a7b

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

clients/ai_platform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_ai_platform, "~> 0.17"}]
14+
[{:google_api_ai_platform, "~> 0.18"}]
1515
end
1616
```
1717

clients/ai_platform/lib/google_api/ai_platform/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AIPlatform.V1 do
2020
API client metadata for GoogleApi.AIPlatform.V1.
2121
"""
2222

23-
@discovery_revision "20240916"
23+
@discovery_revision "20240923"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/ai_platform/lib/google_api/ai_platform/v1/model/google_cloud_aiplatform_v1_schema_text_prompt_dataset_metadata.ex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextPromptD
2525
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage URI that stores the prompt data.
2626
* `groundingConfig` (*type:* `GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig.t`, *default:* `nil`) - Grounding checking configuration.
2727
* `hasPromptVariable` (*type:* `boolean()`, *default:* `nil`) - Whether the prompt dataset has prompt variable.
28+
* `logprobs` (*type:* `boolean()`, *default:* `nil`) - Whether or not the user has enabled logit probabilities in the model parameters.
2829
* `maxOutputTokens` (*type:* `String.t`, *default:* `nil`) - Value of the maximum number of tokens generated set when the dataset was saved.
2930
* `note` (*type:* `String.t`, *default:* `nil`) - User-created prompt note. Note size limit is 2KB.
3031
* `promptType` (*type:* `String.t`, *default:* `nil`) - Type of the prompt dataset.
32+
* `seedEnabled` (*type:* `boolean()`, *default:* `nil`) - Seeding enables model to return a deterministic response on a best effort basis. Determinism isn't guaranteed. This field determines whether or not seeding is enabled.
33+
* `seedValue` (*type:* `String.t`, *default:* `nil`) - The actual value of the seed.
3134
* `stopSequences` (*type:* `list(String.t)`, *default:* `nil`) - Customized stop sequences.
3235
* `systemInstruction` (*type:* `String.t`, *default:* `nil`) - The content of the prompt dataset system instruction.
3336
* `systemInstructionGcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage URI that stores the system instruction, starting with gs://.
@@ -46,9 +49,12 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextPromptD
4649
GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig.t()
4750
| nil,
4851
:hasPromptVariable => boolean() | nil,
52+
:logprobs => boolean() | nil,
4953
:maxOutputTokens => String.t() | nil,
5054
:note => String.t() | nil,
5155
:promptType => String.t() | nil,
56+
:seedEnabled => boolean() | nil,
57+
:seedValue => String.t() | nil,
5258
:stopSequences => list(String.t()) | nil,
5359
:systemInstruction => String.t() | nil,
5460
:systemInstructionGcsUri => String.t() | nil,
@@ -66,9 +72,12 @@ defmodule GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTextPromptD
6672
)
6773

6874
field(:hasPromptVariable)
75+
field(:logprobs)
6976
field(:maxOutputTokens)
7077
field(:note)
7178
field(:promptType)
79+
field(:seedEnabled)
80+
field(:seedValue)
7281
field(:stopSequences, type: :list)
7382
field(:systemInstruction)
7483
field(:systemInstructionGcsUri)

clients/ai_platform/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.AIPlatform.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.17.0"
21+
@version "0.18.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)