Skip to content

Commit f3c7657

Browse files
committed
Add feature : add chromadb support as a vector database
1 parent aead2c1 commit f3c7657

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

modelcache/manager/vector_data/chroma.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,4 @@ def flush(self):
8989
pass
9090

9191
def close(self):
92-
# chroma无flush方法
9392
pass

modelcache_mm/manager/vector_data/chroma.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def __init__(
1919
persist_directory="./chromadb",
2020
top_k: int = 1,
2121
):
22-
# self.collection_name = "modelcache"
2322
self.top_k = top_k
2423

2524
self._client = chromadb.PersistentClient(path=persist_directory)

0 commit comments

Comments
 (0)