Encrypted Index
Upsert
Adds or updates vector embeddings in the index. If an item already exists at id
, then it will be overwritten.
Parameters
Parameter | Type | Description |
---|---|---|
ids | std::vector<std::string>& | Unique identifiers for each vector. |
vectors | Array2D<float> | 2D container with vector embeddings to index. |
contents | std::vector<std::vector<uint8_t>>& | (Optional) Item contents in bytes. |
json_metadata_array | std::vector<std::string>& | (Optional) Item metadata in serialized JSON strings. |
For more info on metadata, see Metadata Filtering.
Exceptions
Example Usage
Was this page helpful?