datasets

Generate synthetic examples for a dataset.

post/api/v1/datasets/{dataset_id}/generate

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/datasets/{dataset_id}/generate
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

dataset_idstring uuid required

Request body

example_idsstring[] nullable
num_examplesinteger required

Response

Successful Response

unknown required

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status