GoogleCloudAiplatformV1RubricGenerationSpec.fromJson constructor
GoogleCloudAiplatformV1RubricGenerationSpec.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1RubricGenerationSpec.fromJson(core.Map json_)
: this(
modelConfig:
json_.containsKey('modelConfig')
? GoogleCloudAiplatformV1AutoraterConfig.fromJson(
json_['modelConfig'] as core.Map<core.String, core.dynamic>,
)
: null,
promptTemplate: json_['promptTemplate'] as core.String?,
rubricContentType: json_['rubricContentType'] as core.String?,
rubricTypeOntology:
(json_['rubricTypeOntology'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);