Class TuningJobMetadata
Tuning job metadata. This data type is not supported in Gemini API.
public record TuningJobMetadata : IEquatable<TuningJobMetadata>
- Inheritance
-
TuningJobMetadata
- Implements
- Inherited Members
Properties
CompletedEpochCount
Output only. The number of epochs that have been completed.
[JsonPropertyName("completedEpochCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? CompletedEpochCount { get; set; }
Property Value
- long?
CompletedStepCount
Output only. The number of steps that have been completed. Set for Multi-Step RL.
[JsonPropertyName("completedStepCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? CompletedStepCount { get; set; }
Property Value
- long?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a TuningJobMetadata object.
public static TuningJobMetadata? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- TuningJobMetadata
The deserialized TuningJobMetadata object, or null if deserialization fails.