fix: correct vectorstore path in get_vectorstore function

This commit is contained in:
Siddhant Rai committed 2025-06-03 15:14:00 +05:30
1 parent 773788fb32
commit 381d737d24
1 file changed
+2 -2
+2 -2
View File
@@ -11,9 +11,9 @@ from application.storage.storage_creator import StorageCreator
def get_vectorstore(path: str) -> str:
if path:
vectorstore = f"application/indexes/{path}"
vectorstore = f"indexes/{path}"
else:
vectorstore = "application/indexes"
vectorstore = "indexes"
return vectorstore