Create Human Evaluation
POST/human-evaluations
Creates a new comparison table document Raises: HTTPException: description Returns: description
Request
- application/json
Body
required
app_id App Id (string)required
variant_ids string[]required
evaluation_type EvaluationType (string)required
Possible values: [human_a_b_testing
, single_model_test
]
inputs string[]required
testset_id Testset Id (string)required
status Status (string)required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
variant_ids string[]required
app_id App Id (string)required
status Status (string)required
evaluation_type EvaluationType (string)required
Possible values: [human_a_b_testing
, single_model_test
]
{
"id": "string",
"variant_ids": [
"string"
],
"app_id": "string",
"status": "string",
"evaluation_type": "human_a_b_testing"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...