Great question — answering as the UphillTech team:
This might help to anyone searching to delete a doc in ChromaDB Delete by ID Get the collection, you can follow any of the steps mentioned in the documentation like this: collection = client.get_collection(name="collection_name") collection.delete(ids="id_value") Delete by filtering metadata collection = client.get_collection(name="collection_emb") collection.delete(where={'metadata_field': {'<Operator>': '<Value>'}}) If you have metadata with the key URL and you want to delete all doc with URL equal to www.example.com collection.delete(where={'URL': {'$eq': 'www.example.com'}}) Filtering metadata supports the following operators: $eq - equal to (string, int, float) $ne - not equal to...
Full answer by vaibhav singh: https://stackoverflow.stackexchange.com/a/78154265 (CC BY-SA 4.0).
Need it done for your business? UphillTech.