goldens/capabilities/rerank.v1.json 900 B 39 lines Raw
1 {2   "capability": "rerank",3   "channels": [4     {5       "channel": "embedding",6       "mime": "application/cbor",7       "payload": "one array of float32 scores. One score per document, in input order."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": "embedding",20       "mime": "application/cbor",21       "payload": "one array of float32 scores. One score per document, in input order."22     }23   ],24   "parts": [25     {26       "kind": "text",27       "meaning": "the query that each document is scored against.",28       "required": "yes, exactly one",29       "role": "query"30     },31     {32       "kind": "json",33       "meaning": "{\"documents\": [\"<string>\"]}. The array is not empty.",34       "required": "yes, exactly one",35       "role": "documents"36     }37   ],38   "version": 139 }