Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load persisted vector store by default #753

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

dlqqq
Copy link
Collaborator

@dlqqq dlqqq commented Apr 26, 2024

Closes #701

This change is being made to restore the default behavior of /learn, where it should reload an existing vector store from disk after the server restarts.

In the next major release, we will likely make this behavior configurable while defaulting to False for security. Alternatively, we can explore other ways of loading the vector store that do not rely on de-pickling.

@dlqqq dlqqq added the bug Something isn't working label Apr 26, 2024
@dlqqq dlqqq merged commit e6dab8e into jupyterlab:main Apr 26, 2024
8 checks passed
@dlqqq
Copy link
Collaborator Author

dlqqq commented Apr 26, 2024

@meeseeksdev please backport to 1.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyter-ai that referenced this pull request Apr 26, 2024
dlqqq added a commit that referenced this pull request Apr 26, 2024
Co-authored-by: david qiu <david@qiu.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/ask doesn't use vector store after jupyterlab restarts
2 participants