v1

latestOpenAPI 3.0.02026-07-1346146138.4 KB
evaluators

Execute conversation-quality evaluator

Evaluate conversation quality based on tone, clarity, flow, responsiveness, and transparency

Request Body:

  • input.prompts (string, required): JSON array of prompts in the conversation
  • input.completions (string, required): JSON array of completions in the conversation
post/v2/evaluators/conversation-quality/execute

Request body

Example request

{
  "input": {
    "completions": "[\"Hi! I'd be happy to assist you today.\", \"We offer consulting, development, and support services.\"]",
    "prompts": "[\"Hello, how can I help?\", \"What services do you offer?\"]"
  }
}

Response

OK

conversation_quality_scorenumber

Example response

{
  "conversation_quality_score": 0.82
}