From 381d737d2442c4cbc339da029999c5735f87ee5f Mon Sep 17 00:00:00 2001 From: Siddhant Rai Date: Tue, 3 Jun 2025 15:14:00 +0530 Subject: [PATCH] fix: correct vectorstore path in get_vectorstore function --- application/vectorstore/faiss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/vectorstore/faiss.py b/application/vectorstore/faiss.py index 541ec17e..2c1fcb93 100644 --- a/application/vectorstore/faiss.py +++ b/application/vectorstore/faiss.py @@ -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