Skip to content

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

Open
@JirkaKlimes

Description

@JirkaKlimes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions