Harrison/chroma get (#3938)

Co-authored-by: sdan <git@sdan.io>
This commit is contained in:
Harrison Chase 2023-05-01 21:19:28 -07:00 committed by GitHub
parent 6396a4ad8d
commit 2cecc572f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.