Replies: 1 comment 2 replies
-
|
Hi @ilvalerione just wanted to understand this makes sense to you. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the FileVectorStore throws an exception if a FileVectorStore doesn't exist on the mentioned storage path.
I can see a custom Exception class VectorStoreException has been created and thrown.
Wouldn't it be better if we go ahead and create the directory? Because it is not a delete, it is not a dangerous action. And hence, it can be a better experience.
Or it was an intention decision.
If you agree, the current code:
Can be replaced with something like:
Beta Was this translation helpful? Give feedback.
All reactions