Skip to main content

Generate Synthetic Dataset

Generate Synthetic Dataset

POST 

/api/2/auto_eval/dataset/generate_synthetic

Generate a synthetic dataset from uploaded file contents

Request

Body

    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]

Responses

Successful operation

Schema

    object
Loading...