Package com.google.genai.types
Class GenerationConfigThinkingConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GenerationConfigThinkingConfig
Config for thinking features.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GenerationConfigThinkingConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for GenerationConfigThinkingConfig.Deserializes a JSON string to a GenerationConfigThinkingConfig object.Optional.Optional.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
toJson
-
Constructor Details
-
GenerationConfigThinkingConfig
public GenerationConfigThinkingConfig()
-
-
Method Details
-
includeThoughts
Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. -
thinkingBudget
Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. -
builder
Instantiates a builder for GenerationConfigThinkingConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GenerationConfigThinkingConfig object.
-