从ChromaDB集合中删除数据 本教程将引导您完成从ChromaDB集合中删除数据的过程。 创建集合 我们首先初始化ChromaDB客户端,并创建一个名为 的集合。 添加原始文档 我们使用 方法向集合中添加了六份原始文档。每份文档都关联有一个唯一ID,并包含元数据,包括类别和发言人。 删除符合where过滤器条件的条目 ChromaDB允许您使用 method. In this example, we delete all items from the collection where the speaker is "Agent Smith".