forked from Archives/langchain
parent
6396a4ad8d
commit
2cecc572f9
@ -312,6 +312,10 @@ class Chroma(VectorStore):
|
|||||||
"""Delete the collection."""
|
"""Delete the collection."""
|
||||||
self._client.delete_collection(self._collection.name)
|
self._client.delete_collection(self._collection.name)
|
||||||
|
|
||||||
|
def get(self) -> Chroma:
|
||||||
|
"""Gets the collection"""
|
||||||
|
return self._collection.get()
|
||||||
|
|
||||||
def persist(self) -> None:
|
def persist(self) -> None:
|
||||||
"""Persist the collection.
|
"""Persist the collection.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user