Datasets
Expand dataset with synthetic samples
Generate synthetic dataset samples using LLM based on existing data patterns
post/v1/private/datasets/{id}/expansions
Path parameters
idstring uuid required
Request body
Example request
{
"model": "gpt-4",
"sample_count": 10,
"preserve_fields": [
"input",
"expected_output"
],
"variation_instructions": "Create variations that test edge cases"
}Response
Generated synthetic samples
Example response
{
"model": "gpt-4",
"total_generated": 10
}