Skip to main content

Update Evaluation Scenario Router

PUT 

/human-evaluations/:evaluation_id/evaluation_scenario/:evaluation_scenario_id/:evaluation_type

Updates an evaluation scenario's vote or score based on its type.

Raises: HTTPException: If update fails or unauthorized.

Returns: None: 204 No Content status code upon successful update.

Request

Path Parameters

    evaluation_id Evaluation Idrequired
    evaluation_scenario_id Evaluation Scenario Idrequired
    evaluation_type EvaluationTyperequired

    Possible values: [human_a_b_testing, single_model_test]

Body

required

    vote Vote (string)

    score

    object

    anyOf

    string

    correct_answer Correct Answer (string)

    outputs

    object[]

  • Array [

  • variant_id Variant Id (string)required
    variant_output Variant Output (string)required
  • ]

  • inputs

    object[]

  • Array [

  • input_name Input Name (string)required
    input_value Input Value (string)required
  • ]

  • is_pinned Is Pinned (boolean)
    note Note (string)

Responses

Successful Response

Schema

    any

Loading...