Class ThinkingConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Config for thinking features.
public class ThinkingConfig
- Inheritance
-
ThinkingConfig
- Inherited Members
- Extension Methods
Properties
IncludeThoughts
Indicates whether to include thoughts in the response. If true, thoughts are returned only if the model supports thought and thoughts are available.
[JsonPropertyName("includeThoughts")]
public bool? IncludeThoughts { get; set; }
Property Value
- bool?
ThinkingBudget
Indicates the thinking budget in tokens.
[JsonPropertyName("thinkingBudget")]
public int? ThinkingBudget { get; set; }
Property Value
- int?
ThinkingLevel
Controls the maximum depth of the model's internal reasoning process before it produces a response. This is particularly relevant for Gemini 3 and later models.
[JsonPropertyName("thinkingLevel")]
public ThinkingLevel? ThinkingLevel { get; set; }