Table of Contents

Class DistillationDataStats

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

Statistics for distillation prompt dataset. These statistics do not include the responses sampled from the teacher model. This data type is not supported in Gemini API.

public record DistillationDataStats : IEquatable<DistillationDataStats>
Inheritance
DistillationDataStats
Implements
Inherited Members

Properties

TrainingDatasetStats

Output only. Statistics computed for the training dataset.

[JsonPropertyName("trainingDatasetStats")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DatasetStats? TrainingDatasetStats { get; set; }

Property Value

DatasetStats

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a DistillationDataStats object.

public static DistillationDataStats? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

DistillationDataStats

The deserialized DistillationDataStats object, or null if deserialization fails.