Google Cloud Ai Platform V1 Client - Class ThinkingConfig (1.26.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ThinkingConfig.

Config for thinking features.

Generated from protobuf message google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ thinking_budget int

Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.

getThinkingBudget

Optional. Indicates the thinking budget in tokens.

This is only applied when enable_thinking is true.

Returns
Type Description
int

hasThinkingBudget

clearThinkingBudget

setThinkingBudget

Optional. Indicates the thinking budget in tokens.

This is only applied when enable_thinking is true.

Parameter
Name Description
var int
Returns
Type Description
$this