mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-21 00:35:23 -04:00
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user