Augment seed data to generate synthetic data

post/augment

Request body

multipleinteger

Number of synthetic examples to generate per seed example (max 50)

eval_results_idstring

ID of evaluation results to use for target metrics (will use latest if not provided)

include_gatheredboolean

If true, includes gathered pairs (high-scoring and positively critiqued) in the synthetic dataset

target_metric_idxinteger[] required

Array of indices of target metrics for redrafting synthetic data (from the evaluation results)

Response

Data successfully augmented

synthetic_data_idstring

ID of the generated synthetic dataset

created_atstring

Timestamp when the synthetic data was created

seed_data_sizeinteger

Number of pairs in the original seed dataset

synthetic_data_sizeinteger

Total number of pairs in the synthetic dataset (including gathered pairs if include_gathered is true)

system_promptstring

System prompt used for the synthetic data

target_metricsstring[]

Array of target metrics that were used for redrafting

Changes

Changed in 5 of the 10 revisions of this API.2410

  • f332cf4d71d411See the full diff
    • removed the request property pair_query/pair_label

      request-property-removed

    • added the new optional request property pair_query/pair_labels

      new-optional-request-property

  • 7a3463d3306a135See the full diff
    • added the new required request property target_metric_idx

      new-required-request-property

    • removed the request property seed_data_id

      request-property-removed

    • removed the request property target_metric

      request-property-removed

    • removed the optional property target_metric from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property include_gathered

      new-optional-request-property

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the optional property target_metrics to the response with the 200 status

      response-optional-property-added

    • added the new optional request property pair_query

      new-optional-request-property

    • added the new optional request property target_metric

      new-optional-request-property

    • the request property seed_data_id became optional

      request-property-became-optional

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog