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

Bugfix/Upsert Vector API #1350

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

HenryHengZJ
Copy link
Contributor

Steps to replicate:
1.) Construct a RAG flow and upsert the document through UI:
image

2.) Hit /api/v1/vector/upsert API to upload another document:
image

3.) Back to UI or use /prediction API to ask something about the 2nd document.

Expected: answer can be succesfully retrieved from vector store
Actual: AI answer dont know
Bug: overrideConfig is not being saved to ChatflowPool, causing the flow to be reused.
Fix: save the overrideConfig, causing flow to be re-executed from the start, hence calling the init of the vector store, loading the new stuff in

@HenryHengZJ HenryHengZJ merged commit 4c406ee into main Dec 9, 2023
2 checks passed
hemati pushed a commit to hemati/Flowise that referenced this pull request Dec 27, 2023
…esnt-reload-vector-store

Bugfix/Upsert Vector API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant