Prompt Optimization
List
Lists the Prompt Optimization Jobs owned by a user
GET
Authorizations
Query Parameters
Filter jobs by state
Available options:
QUEUED
, RUNNING
, DONE
, ERROR
, CANCELLED
Response
200
application/json
Successful Response
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 optimized prompt messages in the OpenAI message format with the jinja {{ input }} variable for the next user prompt
Example:
[
{
"content": "Write a great story around the given topic.",
"role": "system"
},
{ "content": "{{ input }}", "role": "user" }
]