Evaluator Run
POST/evaluators/:evaluator_key/run
Endpoint to evaluate LLM app run
Args: request (Request): The request object. evaluator_key (str): The key of the evaluator. payload (EvaluatorInputInterface): The payload containing the request data.
Returns: result: EvaluatorOutputInterface object containing the outputs.
Request
Path Parameters
evaluator_key Evaluator Keyrequired
- application/json
Body
required
inputs object
settingsobject
credentialsobject
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
outputs objectrequired
{
"outputs": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detailobject[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...