baseball-engine / AI-coach-agent /docs /coach_note.schema.json
github-actions[bot]
Automated Deploy: f4f01388c7b26e818cffbd64414eac11381a7891
35e80ff
Raw History Blame Contribute Delete
3.31 kB
{
"$defs": {
"DrillNote": {
"properties": {
"how": {
"description": "One short sentence on how to do it, using the drill's rep scheme",
"title": "How",
"type": "string"
},
"name": {
"description": "Exact name of one drill offered for the priority fix",
"title": "Name",
"type": "string"
}
},
"required": [
"name",
"how"
],
"title": "DrillNote",
"type": "object"
},
"SolidItem": {
"properties": {
"metric_key": {
"description": "Key of an in-range metric from the input with High or Medium confidence",
"title": "Metric Key",
"type": "string"
},
"text": {
"description": "One short friendly sentence on what looks solid. Max 25 words.",
"title": "Text",
"type": "string"
}
},
"required": [
"metric_key",
"text"
],
"title": "SolidItem",
"type": "object"
},
"WorkOnItem": {
"properties": {
"evidence": {
"description": "Metric keys from that problem's evidence list that show it",
"items": {
"type": "string"
},
"title": "Evidence",
"type": "array"
},
"fault_key": {
"description": "Key of one of the input's problems. Your priority fix comes first.",
"title": "Fault Key",
"type": "string"
},
"text": {
"description": "One or two short sentences: what to work on and why. Max 40 words.",
"title": "Text",
"type": "string"
}
},
"required": [
"fault_key",
"evidence",
"text"
],
"title": "WorkOnItem",
"type": "object"
}
},
"description": "The coaching note shown to the player. Use only facts present in the input.",
"properties": {
"caveats": {
"description": "0 to 3 short honesty notes about data quality",
"items": {
"type": "string"
},
"title": "Caveats",
"type": "array"
},
"cue": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The priority fix's cue in one short phrase; null if no problems",
"title": "Cue"
},
"drill": {
"anyOf": [
{
"$ref": "#/$defs/DrillNote"
},
{
"type": "null"
}
],
"default": null,
"description": "One drill for the priority fix; null if no problems"
},
"headline": {
"description": "One encouraging sentence summarising the session. Max 18 words.",
"title": "Headline",
"type": "string"
},
"looks_solid": {
"description": "0 to 3 items",
"items": {
"$ref": "#/$defs/SolidItem"
},
"title": "Looks Solid",
"type": "array"
},
"work_on": {
"description": "0 to 2 items, priority fix first",
"items": {
"$ref": "#/$defs/WorkOnItem"
},
"title": "Work On",
"type": "array"
}
},
"required": [
"headline"
],
"title": "CoachNote",
"type": "object"
}