Skip to main content

Augment

POST 

/api/2/auto_eval/dataset/augment

Description of augment

Request

Body

    datasetId

    object

    required

    value stringrequired

    augmentationConfig

    object

    required

    chatCompletionConfig

    object

    required

    The list of messages in the conversation so far.

    vendor stringrequired
    model stringrequired

    The ID of the model to use for the completion.

    messages

    object[]

    required

    The list of messages in the conversation so far.

  • Array [

  • role stringrequired

    Role can be 'system', 'user', or 'assistant'.

    content stringrequired

    The content of the message.

  • ]

  • maxTokens integerrequired

    The maximum number of tokens to generate.

    Possible values: >= -2147483648 and <= 2147483647

    temperature numberrequired

    The temperature to use for the completion.

    topP numberrequired

    The top_p value to use for the completion.

    promptTemplate

    object

    required

    id stringrequired

    messages

    object[]

    required

  • Array [

  • role stringrequired

    Role can be 'system', 'user', or 'assistant'.

    content stringrequired

    The content of the message.

  • ]

Responses

Successful operation

Schema

    success booleanrequired
    message stringrequired
Loading...