Skip to main content

GenerateSyntheticDatasetRequest

Populate the dataset with synthetic data generated from an uploaded file

    datasetId stringrequired

    The ID of the dataset to generate data for

    uploadId stringrequired

    The ID of the upload created for the file

    config

    object

    required

    baseEvaluationMetric BaseEvaluationMetric (string)required

    Keep in sync with www/prisma/schema.prisma:AEBaseEvaluationMetric

    Possible values: [BASE_EVALUATION_METRIC_UNSPECIFIED, BASE_EVALUATION_METRIC_FAITHFULNESS, BASE_EVALUATION_METRIC_RELEVANCE, BASE_EVALUATION_METRIC_TOXICITY, BASE_EVALUATION_METRIC_QA, BASE_EVALUATION_METRIC_SUMMARIZATION]