PutInputVector
¶
Source code in docs_src/capo_s3vectors/types/put_input_vector.py
data
instance-attribute
¶
data: VectorData
The vector data of the vector.
Vector dimensions must match the dimension count that's configured for the vector index.
-
For the
cosinedistance metric, zero vectors (vectors containing all zeros) aren't allowed. -
For both
cosineandeuclideandistance metrics, vector data must contain only valid floating-point values. Invalid values such as NaN (Not a Number) or Infinity aren't allowed.
key
instance-attribute
¶
key: VectorKey
The name of the vector. The key uniquely identifies the vector in a vector index.
metadata
instance-attribute
¶
metadata: VectorMetadata
Metadata about the vector. All metadata entries undergo validation to ensure they meet the format requirements for size and data types.