Back to Redis

VINFO

content/commands/vinfo.md

latest1.7 KB
Original Source

Return metadata and internal details about a vector set, including size, dimensions, quantization type, and graph structure.

shell
VINFO word_embeddings
1) quant-type
2) int8
3) vector-dim
4) (integer) 300
5) size
6) (integer) 3000000
7) max-level
8) (integer) 12
9) vset-uid
10) (integer) 1
11) hnsw-max-node-uid
12) (integer) 3000000

Required arguments

<details open> <summary><code>key</code></summary>

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

</details>
  • [Vector sets]({{< relref "/develop/data-types/vector-sets" >}})

Redis Software and Redis Cloud compatibility

| 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> | |

Return information

{{< multitabs id="vinfo-return-info" tab1="RESP2" tab2="RESP3" >}}

One of the following:

  • Array reply containing metadata and internal details about a vector set, including size, dimensions, quantization type, and graph structure.
  • Array reply (null array reply) for unknown key.

-tab-sep-

One of the following:

  • Array reply containing metadata and internal details about a vector set, including size, dimensions, quantization type, and graph structure.
  • Null reply for unknown key.

{{< /multitabs >}}