langchain_chroma: Pass through kwargs to Chroma collection.delete (#25970)

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Daniel Cooke
2024-09-19 05:21:24 +01:00
committed by GitHub
parent 85caaa773f
commit 7835c0651f
2 changed files with 21 additions and 1 deletions

View File

@@ -1145,4 +1145,4 @@ class Chroma(VectorStore):
ids: List of ids to delete.
kwargs: Additional keyword arguments.
"""
self._collection.delete(ids=ids)
self._collection.delete(ids=ids, **kwargs)