Assesses the state or validity of the dataset with respect to a given use case.
Endpoint
posthttps://{service-endpoint}/v1beta1/{name}:assess
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
name
string
Required. The name of the Dataset resource. Used only for MULTIMODAL datasets. Format: projects/{project}/locations/{location}/datasets/{dataset}
Request body
The request body contains data with the following structure:
Optional. The Gemini request read config for the dataset.
assessment_config
Union type
assessment_config
can be only one of the following:Optional. Configuration for the tuning validation assessment.
Optional. Configuration for the tuning resource usage assessment.
Optional. Configuration for the batch prediction validation assessment.
Optional. Configuration for the batch prediction resource usage assessment.
read_config
Union type
read_config
can be only one of the following:Optional. Config for assembling templates with a Gemini API structure to assess assembled data.
requestColumnName
string
Optional. The column name in the underlying table that contains already fully assembled requests.
Response body
If successful, the response body contains an instance of Operation
.
TuningValidationAssessmentConfig
Configuration for the tuning validation assessment.
modelName
string
Required. The name of the model used for tuning.
Required. The dataset usage (e.g. training/validation).
JSON representation |
---|
{
"modelName": string,
"datasetUsage": enum ( |
DatasetUsage
The dataset usage (e.g. training/validation).
Enums | |
---|---|
DATASET_USAGE_UNSPECIFIED |
Default value. Should not be used. |
SFT_TRAINING |
Supervised fine-tuning training dataset. |
SFT_VALIDATION |
Supervised fine-tuning validation dataset. |
TuningResourceUsageAssessmentConfig
Configuration for the tuning resource usage assessment.
modelName
string
Required. The name of the model used for tuning.
JSON representation |
---|
{ "modelName": string } |
BatchPredictionValidationAssessmentConfig
Configuration for the batch prediction validation assessment.
modelName
string
Required. The name of the model used for batch prediction.
JSON representation |
---|
{ "modelName": string } |
BatchPredictionResourceUsageAssessmentConfig
Configuration for the batch prediction resource usage assessment.
modelName
string
Required. The name of the model used for batch prediction.
JSON representation |
---|
{ "modelName": string } |