Generate
Start Job
Starts a Generation Data job
POST
Authorizations
Body
application/json
The application description for which the inputs would be applicable.
Example:
"Write a children's story communicating a simple life lesson."
The number of new LLM inputs to generate
Example:
50
The list of LLM inputs to be used as seeds
Example:
[
"The quick brown fox jumped over the lazy dog",
"The lazy dog was jumped over by the quick brown fox"
]
Number of inputs to generate in one LLM call. Must be <= 10. Generally it could be same as num_shots
.
Example:
5
The exloration mode for input generation. Defaults to BALANCED
Available options:
CONSERVATIVE
, BALANCED
, CREATIVE
, ADVENTUROUS
Number of inputs to be included in the prompt for generation. Must be <= 10. Generally it could be same as batch_size
.
Example:
5
Response
200
application/json
Successful Response
DataGenerationStatus is the result of a data generation job.
Detailed status of the job
Example:
["Downloading model", "Tuning prompt"]
The job id
Example:
"1234abcd"
Current state of the job
Available options:
QUEUED
, RUNNING
, DONE
, ERROR
, CANCELLED
The generated data. Can be present even if the state is not done/error as it is streamed.
Example:
[
"The quick brown fox jumped over the lazy dog",
"The lazy dog was jumped over by the quick brown fox"
]