mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 01:23:14 +00:00
fix: correct vectorstore path in get_vectorstore function
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user