v1
latestOpenAPI 3.0.02026-07-1346146138.4 KBevaluators
Execute answer-relevancy evaluator
Check if an answer is relevant to a question
Request Body:
- input.answer (string, required): The answer to evaluate for relevancy
- input.question (string, required): The question that the answer should be relevant to
post/v2/evaluators/answer-relevancy/execute
Request body
Example request
{
"input": {
"answer": "The capital of France is Paris.",
"question": "What is the capital of France?"
}
}Response
OK
Example response
{
"is_relevant": true
}