google-apis-dialogflow_v3 0.97.0 → 0.98.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f6daf92dc3cb1400ef8b129bf6ca43b47653b935d44916fe6011ae558d597e9
4
- data.tar.gz: d9032835502eb743334d91c230baf2217119c7184c8e85e263b004f59462b38e
3
+ metadata.gz: b147a61a6f6eb8550b1fd11dd8bc03f38bcbcca48cda7de24ca4ea4c5b779ac1
4
+ data.tar.gz: 074cda2c94f57587dd49037fa69cedc208ed8e5c37da625c18e6e50e7c6de089
5
5
  SHA512:
6
- metadata.gz: cfe487b57d79eb724021bd0986748170bcfdb5c2e5b1fecd5cb82e631b9e3b80b12829a37e63d28f90c448c93e16eeeee9dc0478205b1037ddc1707d4c83eda7
7
- data.tar.gz: f6530314b445484ba26ee76a1332f6fae574ebc4950d49b3fafc25cadeabb7d574cbf26451f3dc28db832987b235fab2513051c6188a7f4842f6702b99540d08
6
+ metadata.gz: 630368365ea343e0fcdb21f74ebc05acdec39a5ba4cfb6ae1c19ad8d7e8973ede86d7c948d075fa6b41d1356770bdf96fcb5f7384bb085af4db31c2b1bbd3a0d
7
+ data.tar.gz: '019f96fb7ec44b7ab7f5ac6a9544e869498701b52c6d820706f8d32ea3379149921f3781d7238603348e381a04f7fbf079bcf078dc6ff4228e75c01290e010a8'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.98.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241025
6
+
3
7
  ### v0.97.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241019
@@ -3859,6 +3859,11 @@ module Google
3859
3859
  # @return [String]
3860
3860
  attr_accessor :display_name
3861
3861
 
3862
+ # Parameters to be passed to the LLM. If not set, default values will be used.
3863
+ # Corresponds to the JSON property `modelParameter`
3864
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter]
3865
+ attr_accessor :model_parameter
3866
+
3862
3867
  # The unique identifier of the generator. Must be set for the Generators.
3863
3868
  # UpdateGenerator method. Generators.CreateGenerate populates the name
3864
3869
  # automatically. Format: `projects//locations//agents//generators/`.
@@ -3883,12 +3888,57 @@ module Google
3883
3888
  # Update properties of this object
3884
3889
  def update!(**args)
3885
3890
  @display_name = args[:display_name] if args.key?(:display_name)
3891
+ @model_parameter = args[:model_parameter] if args.key?(:model_parameter)
3886
3892
  @name = args[:name] if args.key?(:name)
3887
3893
  @placeholders = args[:placeholders] if args.key?(:placeholders)
3888
3894
  @prompt_text = args[:prompt_text] if args.key?(:prompt_text)
3889
3895
  end
3890
3896
  end
3891
3897
 
3898
+ # Parameters to be passed to the LLM. If not set, default values will be used.
3899
+ class GoogleCloudDialogflowCxV3GeneratorModelParameter
3900
+ include Google::Apis::Core::Hashable
3901
+
3902
+ # The maximum number of tokens to generate.
3903
+ # Corresponds to the JSON property `maxDecodeSteps`
3904
+ # @return [Fixnum]
3905
+ attr_accessor :max_decode_steps
3906
+
3907
+ # The temperature used for sampling. Temperature sampling occurs after both topP
3908
+ # and topK have been applied. Valid range: [0.0, 1.0] Low temperature = less
3909
+ # random. High temperature = more random.
3910
+ # Corresponds to the JSON property `temperature`
3911
+ # @return [Float]
3912
+ attr_accessor :temperature
3913
+
3914
+ # If set, the sampling process in each step is limited to the top_k tokens with
3915
+ # highest probabilities. Valid range: [1, 40] or 1000+. Small topK = less random.
3916
+ # Large topK = more random.
3917
+ # Corresponds to the JSON property `topK`
3918
+ # @return [Fixnum]
3919
+ attr_accessor :top_k
3920
+
3921
+ # If set, only the tokens comprising the top top_p probability mass are
3922
+ # considered. If both top_p and top_k are set, top_p will be used for further
3923
+ # refining candidates selected with top_k. Valid range: (0.0, 1.0]. Small topP =
3924
+ # less random. Large topP = more random.
3925
+ # Corresponds to the JSON property `topP`
3926
+ # @return [Float]
3927
+ attr_accessor :top_p
3928
+
3929
+ def initialize(**args)
3930
+ update!(**args)
3931
+ end
3932
+
3933
+ # Update properties of this object
3934
+ def update!(**args)
3935
+ @max_decode_steps = args[:max_decode_steps] if args.key?(:max_decode_steps)
3936
+ @temperature = args[:temperature] if args.key?(:temperature)
3937
+ @top_k = args[:top_k] if args.key?(:top_k)
3938
+ @top_p = args[:top_p] if args.key?(:top_p)
3939
+ end
3940
+ end
3941
+
3892
3942
  # Represents a custom placeholder in the prompt text.
3893
3943
  class GoogleCloudDialogflowCxV3GeneratorPlaceholder
3894
3944
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.97.0"
19
+ GEM_VERSION = "0.98.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241019"
25
+ REVISION = "20241025"
26
26
  end
27
27
  end
28
28
  end
@@ -634,6 +634,12 @@ module Google
634
634
  include Google::Apis::Core::JsonObjectSupport
635
635
  end
636
636
 
637
+ class GoogleCloudDialogflowCxV3GeneratorModelParameter
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
637
643
  class GoogleCloudDialogflowCxV3GeneratorPlaceholder
638
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
645
 
@@ -4273,6 +4279,8 @@ module Google
4273
4279
  # @private
4274
4280
  class Representation < Google::Apis::Core::JsonRepresentation
4275
4281
  property :display_name, as: 'displayName'
4282
+ property :model_parameter, as: 'modelParameter', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter::Representation
4283
+
4276
4284
  property :name, as: 'name'
4277
4285
  collection :placeholders, as: 'placeholders', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder::Representation
4278
4286
 
@@ -4281,6 +4289,16 @@ module Google
4281
4289
  end
4282
4290
  end
4283
4291
 
4292
+ class GoogleCloudDialogflowCxV3GeneratorModelParameter
4293
+ # @private
4294
+ class Representation < Google::Apis::Core::JsonRepresentation
4295
+ property :max_decode_steps, as: 'maxDecodeSteps'
4296
+ property :temperature, as: 'temperature'
4297
+ property :top_k, as: 'topK'
4298
+ property :top_p, as: 'topP'
4299
+ end
4300
+ end
4301
+
4284
4302
  class GoogleCloudDialogflowCxV3GeneratorPlaceholder
4285
4303
  # @private
4286
4304
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.98.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.97.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.98.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []