Spaces:
Sleeping
Sleeping
Create Answer_File.json.schema
Browse files
Operational_Instructions/Answer_File.json.schema
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
|
| 3 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
| 4 |
+
|
| 5 |
+
"title": "Answer file schema",
|
| 6 |
+
"type": "object",
|
| 7 |
+
"properties": {
|
| 8 |
+
"id": {
|
| 9 |
+
"type": "integer",
|
| 10 |
+
"description": "Question ID"
|
| 11 |
+
},
|
| 12 |
+
"question": {
|
| 13 |
+
"type": "string",
|
| 14 |
+
"description": "The question"
|
| 15 |
+
},
|
| 16 |
+
"passages": {
|
| 17 |
+
"type": "array",
|
| 18 |
+
"description": "Passages used and related FineWeb doc IDs, ordered by decreasing importance",
|
| 19 |
+
"items": {
|
| 20 |
+
"type": "object",
|
| 21 |
+
"properties": {
|
| 22 |
+
"passage": {
|
| 23 |
+
"type": "string",
|
| 24 |
+
"description": "Passage text"
|
| 25 |
+
},
|
| 26 |
+
"doc_IDs": {
|
| 27 |
+
"type": "array",
|
| 28 |
+
"description": "Passage related FineWeb doc IDs, ordered by decreasing importance",
|
| 29 |
+
"items": {
|
| 30 |
+
"type": "string",
|
| 31 |
+
"description": "FineWeb doc ID, e.g., <urn:uuid:d69cbebc-133a-4ebe-9378-68235ec9f091>"
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"required": ["passage", "doc_IDs"]
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"final_prompt": {
|
| 39 |
+
"type": "string",
|
| 40 |
+
"description": "Final prompt, as submitted to Falcon LLM"
|
| 41 |
+
},
|
| 42 |
+
"answer": {
|
| 43 |
+
"type": "string",
|
| 44 |
+
"description": "Your answer"
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"required": ["id", "question", "passages", "final_prompt", "answer"]
|
| 48 |
+
}
|