Removes vectors from the index by their IDs. This operation permanently deletes the specified vectors and their associated data.
index.delete(ids)

Parameters

ParameterTypeDefaultDescription
idsList[str]-List of vector IDs to delete

Returns

None

Exceptions

Example Usage

# Delete vectors by ID
vector_ids = ['doc1', 'doc2', 'doc3']
index.delete(vector_ids)