Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GenerationConfig::ThinkingConfig.
Config for thinking features.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#include_thoughts
def include_thoughts() -> ::Boolean
Returns
- (::Boolean) — Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
#include_thoughts=
def include_thoughts=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
Returns
- (::Boolean) — Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
#thinking_budget
def thinking_budget() -> ::Integer
Returns
- (::Integer) — Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
#thinking_budget=
def thinking_budget=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
Returns
- (::Integer) — Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.