Skip to content

The agent engineering platform.

Harrison/chroma get (#3938)

Harrison Chase2cecc572f917
diff --git a/langchain/vectorstores/chroma.py b/langchain/vectorstores/chroma.py
index b5d77a96ec..9f90f4e76f 100644
--- a/langchain/vectorstores/chroma.py
+++ b/langchain/vectorstores/chroma.py
@@ -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.