GoogleCloudAiplatformV1SupervisedTuningDataStats.fromJson constructor
GoogleCloudAiplatformV1SupervisedTuningDataStats.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1SupervisedTuningDataStats.fromJson(core.Map json_)
: this(
totalBillableCharacterCount:
json_.containsKey('totalBillableCharacterCount')
? json_['totalBillableCharacterCount'] as core.String
: null,
totalTuningCharacterCount:
json_.containsKey('totalTuningCharacterCount')
? json_['totalTuningCharacterCount'] as core.String
: null,
tuningDatasetExampleCount:
json_.containsKey('tuningDatasetExampleCount')
? json_['tuningDatasetExampleCount'] as core.String
: null,
tuningStepCount: json_.containsKey('tuningStepCount')
? json_['tuningStepCount'] as core.String
: null,
userDatasetExamples: json_.containsKey('userDatasetExamples')
? (json_['userDatasetExamples'] as core.List)
.map((value) => GoogleCloudAiplatformV1Content.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
userInputTokenDistribution:
json_.containsKey('userInputTokenDistribution')
? GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
.fromJson(json_['userInputTokenDistribution']
as core.Map<core.String, core.dynamic>)
: null,
userMessagePerExampleDistribution:
json_.containsKey('userMessagePerExampleDistribution')
? GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
.fromJson(json_['userMessagePerExampleDistribution']
as core.Map<core.String, core.dynamic>)
: null,
userOutputTokenDistribution:
json_.containsKey('userOutputTokenDistribution')
? GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
.fromJson(json_['userOutputTokenDistribution']
as core.Map<core.String, core.dynamic>)
: null,
);