通过ID从ChromaDB集合中删除条目 本教程将指导您如何通过ID从ChromaDB集合中删除条目。 创建集合 我们首先初始化ChromaDB客户端,并创建一个名为 的集合。 添加原始文档 我们使用 方法向集合中添加了三个原始文档。每个文档都关联有一个唯一的ID。 通过ID从集合中删除条目 我们可以使用 method. In this example, we delete the item with the ID "quote3". The method removes the specified items from the collection permanently.