| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "OktoScript Dataset Schema", | |
| "description": "Schema for validating OktoScript dataset files", | |
| "type": "object", | |
| "properties": { | |
| "input": { | |
| "type": "string", | |
| "description": "Input text or prompt for the model" | |
| }, | |
| "output": { | |
| "type": "string", | |
| "description": "Expected output or response from the model" | |
| }, | |
| "context": { | |
| "type": "string", | |
| "description": "Optional context for the conversation or task" | |
| }, | |
| "label": { | |
| "type": "string", | |
| "description": "Optional label for classification tasks" | |
| }, | |
| "metadata": { | |
| "type": "object", | |
| "description": "Optional metadata for the data point", | |
| "additionalProperties": true | |
| } | |
| }, | |
| "required": ["input", "output"], | |
| "additionalProperties": false | |
| } | |