evaluators
Execute conversation-quality evaluator
Changed onEvaluate 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
- Base URLhttps://api.traceloop.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"conversation_quality_score": 0.82
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking