toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final droppedExampleReasons = this.droppedExampleReasons;
final totalBillableCharacterCount = this.totalBillableCharacterCount;
final totalBillableTokenCount = this.totalBillableTokenCount;
final totalTruncatedExampleCount = this.totalTruncatedExampleCount;
final totalTuningCharacterCount = this.totalTuningCharacterCount;
final truncatedExampleIndices = this.truncatedExampleIndices;
final tuningDatasetExampleCount = this.tuningDatasetExampleCount;
final tuningStepCount = this.tuningStepCount;
final userDatasetExamples = this.userDatasetExamples;
final userInputTokenDistribution = this.userInputTokenDistribution;
final userMessagePerExampleDistribution =
this.userMessagePerExampleDistribution;
final userOutputTokenDistribution = this.userOutputTokenDistribution;
return {
'droppedExampleReasons': ?droppedExampleReasons,
'totalBillableCharacterCount': ?totalBillableCharacterCount,
'totalBillableTokenCount': ?totalBillableTokenCount,
'totalTruncatedExampleCount': ?totalTruncatedExampleCount,
'totalTuningCharacterCount': ?totalTuningCharacterCount,
'truncatedExampleIndices': ?truncatedExampleIndices,
'tuningDatasetExampleCount': ?tuningDatasetExampleCount,
'tuningStepCount': ?tuningStepCount,
'userDatasetExamples': ?userDatasetExamples,
'userInputTokenDistribution': ?userInputTokenDistribution,
'userMessagePerExampleDistribution': ?userMessagePerExampleDistribution,
'userOutputTokenDistribution': ?userOutputTokenDistribution,
};
}