VDIM

Syntax
VDIM key
Available since:
Redis CE 8.0.0
Time complexity:
O(1)

Return the number of dimensions of the vectors in the specified vector set.

VDIM word_embeddings
(integer) 300

If the vector set was created using the REDUCE option for dimensionality reduction, this command reports the reduced dimension. However, you must still use full-size vectors when performing queries with the VSIM command.

Required arguments

key

is the name of the key that holds the vector set.

RESP2/RESP3 Reply

One of the following:


RATE THIS PAGE
Back to top ↑