v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
generate

Infer Advanced Options

Infer constraints and multiplicator from a generation prompt.

post/generate/infer-advanced

Request body

promptstring required

The user's dataset generation prompt

data_typestring nullable

The dataset type (classification, entity_extraction, json_extraction)

labelsstring[] nullable

The labels / entity types / classes for the dataset

Response

Successful Response

successboolean required