|
1269 | 1269 | "UNWATCH": [ |
1270 | 1270 | "[Simple string reply](../../develop/reference/protocol-spec#simple-strings): `OK`." |
1271 | 1271 | ], |
| 1272 | + "VADD": [ |
| 1273 | + "One of the following:", |
| 1274 | + "* [Boolean reply](../../develop/reference/protocol-spec#booleans): true if key was added; false if key was not added.", |
| 1275 | + "* [Simple error reply](../../develop/reference/protocol-spec#simple-errors): if the command was malformed." |
| 1276 | + ], |
| 1277 | + "VCARD": [ |
| 1278 | + "[Integer reply](../../develop/reference/protocol-spec#integers): 0 if the key doesn't exist or the number of elements contained in the vector set." |
| 1279 | + ], |
| 1280 | + "VDIM": [ |
| 1281 | + "One of the following:", |
| 1282 | + "* [Integer reply](../../develop/reference/protocol-spec#integers): the number of vector set elements.", |
| 1283 | + "* [Simple error reply](../../develop/reference/protocol-spec#simple-errors): if the key does not exist." |
| 1284 | + ], |
| 1285 | + "VEMB": [ |
| 1286 | + "One of the following:", |
| 1287 | + "* [Array reply](../../develop/reference/protocol-spec#arrays): of [doubles](../../develop/reference/protocol-spec#doubles), representing the vector.", |
| 1288 | + "* [Array reply](../../develop/reference/protocol-spec#arrays): consisting of the following elements:", |
| 1289 | + " 1. The quantization type as a [simple string](../../develop/reference/protocol-spec#simple-strings): `fp32`, `bin`, or `q8`.", |
| 1290 | + " 1. A [bulk string](../../develop/reference/protocol-spec#bulk-strings) blob with the following raw data:", |
| 1291 | + " * 4-byte floats for fp32", |
| 1292 | + " * A bitmap for binary quantization", |
| 1293 | + " * A byte array for q8", |
| 1294 | + " 1. The [double](../../develop/reference/protocol-spec#doubles) L2 norm of the vector before normalization.", |
| 1295 | + " 1. (Only for q8): The quantization range as a [double](../../develop/reference/protocol-spec#doubles). Multiply this by integer components to recover normalized values." |
| 1296 | + ], |
| 1297 | + "VGETATTR": [ |
| 1298 | + "One of the following:", |
| 1299 | + "* [Simple string reply](../../develop/reference/protocol-spec#simple-strings) containing the JSON attribute(s).", |
| 1300 | + "* [Null reply](../../develop/reference/protocol-spec#nulls) for unknown key or element, or when no attributes exist for the given key/element pair." |
| 1301 | + ], |
| 1302 | + "VINFO": [ |
| 1303 | + "One of the following:", |
| 1304 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) containing metadata and internal details about a vector set, including size, dimensions, quantization type, and graph structure.", |
| 1305 | + "* [Null reply](../../develop/reference/protocol-spec#nulls) for unknown key." |
| 1306 | + ], |
| 1307 | + "VLINKS": [ |
| 1308 | + "One of the following:", |
| 1309 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) containing the names of adjacent elements as [strings](../../develop/reference/protocol-spec#simple-strings) when used without the WITHSCORES option.", |
| 1310 | + "* [Map reply](../../develop/reference/protocol-spec#maps) containing the names of adjecent elements as [strings](../../develop/reference/protocol-spec#simple-strings), together with their scores as [doubles](../../develop/reference/protocol-spec#doubles) when used with the WITHSCORES option.", |
| 1311 | + "* [Null reply](../../develop/reference/protocol-spec#nulls) for unknown keys and/or elements." |
| 1312 | + ], |
| 1313 | + "VRANDMEMBER": [ |
| 1314 | + "One of the following:", |
| 1315 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) containing the names of *count* random elements as [strings](../../develop/reference/protocol-spec#simple-strings).", |
| 1316 | + "* [Null reply](../../develop/reference/protocol-spec#nulls) for unknown keys.", |
| 1317 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) (empty array) for unknown keys when a count is specified." |
| 1318 | + ], |
| 1319 | + "VREM": [ |
| 1320 | + "[Boolean reply](../../develop/reference/protocol-spec#booleans): false if either element or key do not exist; true if the element was removed." |
| 1321 | + ], |
| 1322 | + "VSETATTR": [ |
| 1323 | + "One of the following:", |
| 1324 | + "* [Boolean reply](../../develop/reference/protocol-spec#booleans): false if either the key or element does not exist; true if the attributes were successfully added to the element.", |
| 1325 | + "* [Simple error reply](develop/reference/protocol-spec/#simple-errors) for improperly specified attribute string." |
| 1326 | + ], |
| 1327 | + "VSIM": [ |
| 1328 | + "One of the following:", |
| 1329 | + "* [Simple error reply](develop/reference/protocol-spec/#simple-errors) for unknown element.", |
| 1330 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) (empty array) for unknown key.", |
| 1331 | + "* [Array reply](../../develop/reference/protocol-spec#arrays) with matching elements.", |
| 1332 | + "* [Map reply](../../develop/reference/protocol-spec#maps) with matching elements and [double](../../develop/reference/protocol-spec#doubles) scores when used with the WITHSCORES option." |
| 1333 | + ], |
1272 | 1334 | "WAIT": [ |
1273 | 1335 | "[Integer reply](../../develop/reference/protocol-spec#integers): the number of replicas reached by all the writes performed in the context of the current connection." |
1274 | 1336 | ], |
|
0 commit comments