content/commands/vdim.md
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.
is the name of the key that holds the vector set.
</details>| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="vdim-return-info" tab1="RESP2" tab2="RESP3" >}}
One of the following:
-tab-sep-
One of the following:
{{< /multitabs >}}