File size: 1,006 Bytes
aa5306d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "HealthEval Output Schema",
  "type": "object",
  "properties": {
    "query": { "type": "string" },
    "weights": { "type": "array", "items": { "type": "number" }, "minItems": 6, "maxItems": 6 },
    "selected_judges": { "type": "array", "items": { "type": "string" } },
    "models": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "response": { "type": "string" },
          "tokens": { "type": "integer" },
          "scores": { "type": "array", "items": { "type": "number" }, "minItems": 6, "maxItems": 6 },
          "total_score": { "type": "number" },
          "comment": { "type": "string" }
        },
        "required": ["response", "tokens", "scores", "total_score", "comment"]
      }
    },
    "timestamp": { "type": "string", "format": "date-time" }
  },
  "required": ["query", "weights", "models", "timestamp"],
  "additionalProperties": false
}