Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cyborg.co/llms.txt

Use this file to discover all available pages before exploring further.

This action is irreversible. Proceed with caution.
Deletes the specified encrypted items stored in the index, including all its associated fields (vector, contents, metadata).
def delete(self, ids: List[str])

Parameters

ParameterTypeDescription
idsList[str]IDs to delete.

Exceptions

  • Throws if the items could not be deleted.

Example Usage

# Load index
index = client.load_index(
    index_name=index_name, 
    index_key=index_key
)

# Delete "item_1" and "item_2"
index.delete(["item_1", "item_2"])