Uses OpenAI to parse natural language descriptions into structured evaluation criteria. This endpoint helps convert human-readable requirements into the formal criteria structure needed for judge creation.
curl -X POST https://api.judge.example.com/openai/parse-criteria \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "description": "I need to evaluate blog posts for quality. They should be well-written with clear structure, factually accurate, engaging for readers, and include proper grammar and spelling. The content should be original and provide value to the target audience.", "content_type": "text", "parsing_options": { "max_criteria_count": 6, "include_weights": true, "include_thresholds": true } }'