Table of Contents

Struct TuningMethod

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

Enum representing the tuning method.

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

Properties

AllValues

public static IReadOnlyList<TuningMethod> AllValues { get; }

Property Value

IReadOnlyList<TuningMethod>

Distillation

Distillation tuning.

public static TuningMethod Distillation { get; }

Property Value

TuningMethod

PreferenceTuning

Preference optimization tuning.

public static TuningMethod PreferenceTuning { get; }

Property Value

TuningMethod

ReinforcementTuning

Reinforcement tuning.

public static TuningMethod ReinforcementTuning { get; }

Property Value

TuningMethod

SupervisedFineTuning

Supervised fine tuning.

public static TuningMethod SupervisedFineTuning { get; }

Property Value

TuningMethod

Value

public string Value { get; }

Property Value

string

Methods

Equals(TuningMethod)

public bool Equals(TuningMethod other)

Parameters

other TuningMethod

Returns

bool

FromString(string)

public static TuningMethod FromString(string value)

Parameters

value string

Returns

TuningMethod

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator TuningMethod(string)

public static implicit operator TuningMethod(string value)

Parameters

value string

Returns

TuningMethod