Represents a single vector value set along with its associated metadata.

interface VectorizeVector {
    id: string;
    metadata?: Record<string, VectorizeVectorMetadata>;
    namespace?: string;
    values: number[] | VectorFloatArray;
}

Properties

id: string

The ID for the vector. This can be user-defined, and must be unique. It should uniquely identify the object, and is best set based on the ID of what the vector represents.

metadata?: Record<string, VectorizeVectorMetadata>

Metadata associated with the vector. Includes the values of the other fields and potentially additional details.

namespace?: string

The namespace this vector belongs to.

values: number[] | VectorFloatArray

The vector values