Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigThinkingConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigThinkingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Config for thinking features.
Instance Attribute Summary collapse
-
#include_thoughts ⇒ Boolean
(also: #include_thoughts?)
Optional.
-
#thinking_budget ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerationConfigThinkingConfig
constructor
A new instance of GoogleCloudAiplatformV1GenerationConfigThinkingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GenerationConfigThinkingConfig
Returns a new instance of GoogleCloudAiplatformV1GenerationConfigThinkingConfig.
13111 13112 13113 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_thoughts ⇒ Boolean Also known as: include_thoughts?
Optional. Indicates whether to include thoughts in the response. If true,
thoughts are returned only when available.
Corresponds to the JSON property includeThoughts
13103 13104 13105 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13103 def include_thoughts @include_thoughts end |
#thinking_budget ⇒ Fixnum
Optional. Indicates the thinking budget in tokens.
Corresponds to the JSON property thinkingBudget
13109 13110 13111 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13109 def thinking_budget @thinking_budget end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13116 13117 13118 13119 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13116 def update!(**args) @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts) @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget) end |