goldens/capabilities/embed.v1.json 944 B 45 lines Raw
1 {2   "capability": "embed",3   "channels": [4     {5       "channel": "embedding",6       "mime": "application/cbor",7       "payload": "one array of vectors. One vector per text part, 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       "key": "dims",18       "meaning": "the length of every vector in this job",19       "type": "uint"20     }21   ],22   "parameters": [23     {24       "default": "catalogue",25       "meaning": "the length of every vector",26       "name": "dimensions",27       "type": "uint"28     },29     {30       "default": "true",31       "meaning": "scale every vector to unit length",32       "name": "normalize",33       "type": "bool"34     }35   ],36   "parts": [37     {38       "kind": "text",39       "meaning": "the text to embed. The role is not significant.",40       "required": "yes, one or more",41       "role": "any"42     }43   ],44   "version": 145 }