Table of Contents

Struct ThinkingLevel

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

The number of thoughts tokens that the model should generate.

[JsonConverter(typeof(ThinkingLevelConverter))]
public readonly record struct ThinkingLevel : IEquatable<ThinkingLevel>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<ThinkingLevel> AllValues { get; }

Property Value

IReadOnlyList<ThinkingLevel>

High

High thinking level.

public static ThinkingLevel High { get; }

Property Value

ThinkingLevel

Low

Low thinking level.

public static ThinkingLevel Low { get; }

Property Value

ThinkingLevel

Medium

Medium thinking level.

public static ThinkingLevel Medium { get; }

Property Value

ThinkingLevel

Minimal

MINIMAL thinking level.

public static ThinkingLevel Minimal { get; }

Property Value

ThinkingLevel

ThinkingLevelUnspecified

Unspecified thinking level.

public static ThinkingLevel ThinkingLevelUnspecified { get; }

Property Value

ThinkingLevel

Value

public string Value { get; }

Property Value

string

Methods

Equals(ThinkingLevel)

public bool Equals(ThinkingLevel other)

Parameters

other ThinkingLevel

Returns

bool

FromString(string)

public static ThinkingLevel FromString(string value)

Parameters

value string

Returns

ThinkingLevel

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator ThinkingLevel(string)

public static implicit operator ThinkingLevel(string value)

Parameters

value string

Returns

ThinkingLevel