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
    voteobject
    anyOf

    string

    scoreobject
    anyOf

    string

    correct_answerobject
    anyOf

    string

    outputsobject
    anyOf
  • Array [

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

  • inputsobject
    anyOf
  • Array [

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

  • is_pinnedobject
    anyOf

    boolean

    noteobject
    anyOf

    string

Responses

Successful Response
Schema
    any
Loading...