Created
December 20, 2023 18:59
-
-
Save jlewi/9edf14354e800d0e5774d5d9bffe8c5d to your computer and use it in GitHub Desktop.
schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Collection", | |
"definitions": { | |
"Collection": { | |
"properties": { | |
"items": { | |
"items": { | |
"$ref": "#/definitions/pilots.Tuple" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": true, | |
"type": "object", | |
"title": "Collection", | |
"description": "Collection is a list of tuples" | |
}, | |
"pilots.Tuple": { | |
"properties": { | |
"thought": { | |
"type": "string", | |
"description": "thought explains how a complicated objective can be broken down into steps where the goal will represent the next step to be taken. When debugging a problem the thought often represents a hypothesis about what could cause the problem." | |
}, | |
"goal": { | |
"type": "string", | |
"description": "goal represents the sub goal to be accomplished next in order to achieve an objective. When debugging a problem the goal is often to test a specific prediction." | |
}, | |
"action": { | |
"type": "string", | |
"description": "action is the shell command or API call to be invoked to achieve the goal. When debugging a problem the action conducts an experiment that will test the prediction." | |
} | |
}, | |
"additionalProperties": true, | |
"type": "object", | |
"title": "Tuple", | |
"description": "Tuple is a thought, goal, action tuple." | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment