mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-10 15:06:18 +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