diff --git a/langchain/vectorstores/chroma.py b/langchain/vectorstores/chroma.py index b5d77a96..9f90f4e7 100644 --- a/langchain/vectorstores/chroma.py +++ b/langchain/vectorstores/chroma.py @@ -312,6 +312,10 @@ class Chroma(VectorStore): """Delete the collection.""" self._client.delete_collection(self._collection.name) + def get(self) -> Chroma: + """Gets the collection""" + return self._collection.get() + def persist(self) -> None: """Persist the collection.