Package com.google.genai.types
Class ThinkingConfig.Builder
java.lang.Object
com.google.genai.types.ThinkingConfig.Builder
- Enclosing class:
- ThinkingConfig
Builder for ThinkingConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ThinkingConfig
build()
abstract ThinkingConfig.Builder
includeThoughts
(boolean includeThoughts) Setter for includeThoughts.abstract ThinkingConfig.Builder
thinkingBudget
(Integer thinkingBudget) Setter for thinkingBudget.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeThoughts
Setter for includeThoughts.includeThoughts: Indicates whether to include thoughts in the response. If true, thoughts are returned only if the model supports thought and thoughts are available.
-
thinkingBudget
Setter for thinkingBudget.thinkingBudget: Indicates the thinking budget in tokens. 0 is DISABLED. -1 is AUTOMATIC. The default values and allowed ranges are model dependent.
-
build
-