navaneethkrishnan commited on
Commit
aa5306d
·
verified ·
1 Parent(s): ac5c5de

Upload output_schema.json

Browse files
Files changed (1) hide show
  1. schema/output_schema.json +28 -0
schema/output_schema.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "HealthEval Output Schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "query": { "type": "string" },
8
+ "weights": { "type": "array", "items": { "type": "number" }, "minItems": 6, "maxItems": 6 },
9
+ "selected_judges": { "type": "array", "items": { "type": "string" } },
10
+ "models": {
11
+ "type": "object",
12
+ "additionalProperties": {
13
+ "type": "object",
14
+ "properties": {
15
+ "response": { "type": "string" },
16
+ "tokens": { "type": "integer" },
17
+ "scores": { "type": "array", "items": { "type": "number" }, "minItems": 6, "maxItems": 6 },
18
+ "total_score": { "type": "number" },
19
+ "comment": { "type": "string" }
20
+ },
21
+ "required": ["response", "tokens", "scores", "total_score", "comment"]
22
+ }
23
+ },
24
+ "timestamp": { "type": "string", "format": "date-time" }
25
+ },
26
+ "required": ["query", "weights", "models", "timestamp"],
27
+ "additionalProperties": false
28
+ }