Update Evaluation

Update an evaluation by ID.

put/sdk/v1/evaluations/{id}

Path parameters

idstring required
Example:1212121

Request body

promptIdstring required
variablesPromptVariables required

The template variables added to the prompt when executing the prompt.

weightnumber

How heavily to weigh the evaluation within the prompt.

thresholdnumber

What percentage of assertions must pass for the evaluation to pass.

Response

Successful operation

idstring required
promptIdstring required
variablesPromptVariables required

The template variables added to the prompt when executing the prompt.

weightnumber

How heavily to weigh the evaluation within the prompt.

thresholdnumber

What percentage of assertions must pass for the evaluation to pass.

Changes

Changed in 3 of the 50 revisions of this API.612

  • 6c87a6d2f0a124See the full diff
    • removed TextContentBlockSchema from the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-removed

    • added TextContentBlock to the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlockSchema to TextContentBlock for appendedMessages/items/content/items/ request property

      request-property-discriminator-mapping-changed

    • added TextContentBlock to the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlockSchema to TextContentBlock for appendedMessages/items/content/items/ response property for the response status 200

      response-property-discriminator-mapping-changed

    • removed TextContentBlockSchema from the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed TextContentBlock from the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-removed

    • added TextContentBlockSchema to the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlock to TextContentBlockSchema for appendedMessages/items/content/items/ request property

      request-property-discriminator-mapping-changed

    • added TextContentBlockSchema to the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlock to TextContentBlockSchema for appendedMessages/items/content/items/ response property for the response status 200

      response-property-discriminator-mapping-changed

    • removed TextContentBlock from the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed TextContentBlockSchema from the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-removed

    • added TextContentBlock to the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlockSchema to TextContentBlock for appendedMessages/items/content/items/ request property

      request-property-discriminator-mapping-changed

    • added TextContentBlock to the appendedMessages/items/content/items/ request property oneOf list

      request-property-one-of-added

    • mapped value for discriminator key TEXT changed from TextContentBlockSchema to TextContentBlock for appendedMessages/items/content/items/ response property for the response status 200

      response-property-discriminator-mapping-changed

    • removed TextContentBlockSchema from the appendedMessages/items/content/items/ response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog