mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
parent
6396a4ad8d
commit
2cecc572f9
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user