Table of Contents

Class GenerationConfigThinkingConfig

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

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

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

GenerationConfigThinkingConfig

The deserialized GenerationConfigThinkingConfig object, or null if deserialization fails.