Skip to content

Generate

Generate synthetic data based on task type and prompt.

Parameters:

Name Type Description Default
task_type str

One of ['text', 'image', 'video', 'audio', 'agent', 'reasoning']

required
columns list

Column names for dataset

required
prompt str

Prompt to guide generation

None
num_rows int

Number of data rows to generate

10
examples list

Few-shot examples to guide generation

None

Returns:

Name Type Description
dict

Generated dataset in JSON or downloadable CSV format