Package com.google.genai.types
Class GenerationConfigThinkingConfig.Builder
java.lang.Object
com.google.genai.types.GenerationConfigThinkingConfig.Builder
- Enclosing class:
- GenerationConfigThinkingConfig
Builder for GenerationConfigThinkingConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GenerationConfigThinkingConfig
build()
includeThoughts
(boolean includeThoughts) Setter for includeThoughts.thinkingBudget
(Integer thinkingBudget) Setter for thinkingBudget.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeThoughts
Setter for includeThoughts.includeThoughts: Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
-
thinkingBudget
Setter for thinkingBudget.thinkingBudget: Optional. Indicates the thinking budget in tokens.
-
build
-