qdrant-web-ui icon indicating copy to clipboard operation
qdrant-web-ui copied to clipboard

Visualization Fails with Multi-Vectors When Vector Counts Differ Across Documents

Open JirkaKlimes opened this issue 5 months ago • 0 comments

Description

When attempting to run visualization in the Qdrant Web UI using multi-vectors (i.e., a 2D array or multiple same-sized vectors for a single document), the visualization process fails if the number of vectors varies across multiple documents. In my use case, each document contains multiple keys, each associated with an embedding. To simplify the data structure and avoid duplication, I consolidate all embeddings into a single document using multi-vectors. However, this approach leads to a visualization error.

Error Message

Uncaught Error: various array lengths

    at f.from (worker-04da1bf4.js:1:2335)
    at new lt (worker-04da1bf4.js:8:6386)
    at new ht (worker-04da1bf4.js:8:7629)
    at self.onmessage (worker-04da1bf4.js:8:18187)

Please let me know if any further information is required to resolve this issue.

JirkaKlimes avatar Sep 26 '24 09:09 JirkaKlimes