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

    object

    anyOf

    string

    score

    object

    anyOf

    string

    correct_answer

    object

    anyOf

    string

    outputs

    object

    anyOf

  • Array [

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

  • inputs

    object

    anyOf

  • Array [

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

  • is_pinned

    object

    anyOf

    boolean

    note

    object

    anyOf

    string

Responses

Successful Response

Schema

    any

Loading...