Skip to main content

Start Optimization

POST 

/v2/prompts/opt/:projectid/

Start Optimization

Request

Path Parameters

    projectid Projectidrequired

Body

required

    name

    object

    anyOf

    string

    llm Llm (string)required
    dataset Datasetrequired

    experiment

    object

    anyOf

    task_description Task Description (string)required
    metric Metric (string)required

    prompt

    object

    required

    system System (string)required

    user

    object

    required

    prompt Prompt (string)required
    description Description (string)required
    few_shot object[]

    Default value: ``

Responses

Successful Response

Schema

    id Id (string)required
    name Name (string)required
Loading...