goldens/capabilities/decide.v1.json 1.1 KiB 45 lines Raw
1 {2   "capability": "decide",3   "channels": [4     {5       "channel": "decision",6       "mime": "application/json",7       "payload": "{\"chosen\": \"<id>\", \"options\": [{\"id\": \"...\", \"probability\": 0.0}]}"8     }9   ],10   "meta": [11     {12       "key": "model",13       "meaning": "the served name that ran the job",14       "type": "string"15     }16   ],17   "parameters": [18     {19       "channel": "decision",20       "mime": "application/json",21       "payload": "{\"chosen\": \"<id>\", \"options\": [{\"id\": \"...\", \"probability\": 0.0}]}"22     }23   ],24   "parts": [25     {26       "kind": "text",27       "meaning": "the question that the model must answer.",28       "required": "yes, exactly one",29       "role": "question"30     },31     {32       "kind": "json",33       "meaning": "{\"options\": [{\"id\": \"...\", \"label\": \"...\", \"description\": \"...\"}]}.",34       "required": "yes, exactly one",35       "role": "options"36     },37     {38       "kind": "image",39       "meaning": "optional visual context for the question.",40       "required": "no",41       "role": "any"42     }43   ],44   "version": 145 }