Class GenerationConfigThinkingConfig
Config for thinking features.
[Obsolete("This record will be deprecated. Please use ThinkingConfig instead.", false)]
public record GenerationConfigThinkingConfig : ThinkingConfig, IEquatable<ThinkingConfig>, IEquatable<GenerationConfigThinkingConfig>
- Inheritance
-
GenerationConfigThinkingConfig
- Implements
- Inherited Members
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GenerationConfigThinkingConfig object.
public static GenerationConfigThinkingConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GenerationConfigThinkingConfig
The deserialized GenerationConfigThinkingConfig object, or null if deserialization fails.