This commit is contained in:
Liu Zhicong
2023-09-22 20:11:27 -07:00
parent add4357c24
commit c289c811ee
4 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -60,5 +60,5 @@ class KnowledgeStore:
def get_vector_store(self, model_name: str) -> VectorBase:
if model_name not in self.vector_store:
self.vector_store[model_name] = ChromaVectorStore(self.root, model_name)
self.vector_store[model_name] = ChromaVectorStore(model_name)
return self.vector_store[model_name]