Type: vector.faiss.AddWithIds

Namespace: vector.faiss

Description

Add vectors with explicit integer IDs to a FAISS index. faiss, add, ids, vectors

Properties

Property Type Description Default
index faiss_index FAISS index {'type': 'faiss_index', 'index': None}
vectors np_array Vectors to add (n, d) {'type': 'np_array', 'value': None, 'dtype': '<i8', 'shape': [1]}
ids np_array 1-D int64 IDs (n,) {'type': 'np_array', 'value': None, 'dtype': '<i8', 'shape': [1]}

Outputs

Output Type Description
output faiss_index  

Metadata

Browse other nodes in the vector.faiss namespace.