-
Notifications
You must be signed in to change notification settings - Fork 0
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
Vector Store: "Collection not found" when using pre_delete_collection=True
#5
Comments
Hi Christian, thanks for reporting. I've added a self-contained example program at 1, but I haven't been able to reproduce the "Collection not found" problem. I tried it with a CrateDB instance already running, and I also tried once more with a recycled one, without any existing tables. Can I ask you to try again? Maybe the situation was improved in the meanwhile, and the flaw was resolved by some other fix added recently? On the other hand, maybe my example program is still incomplete, and you would be able to complete it, in order to reproduce the problem? With kind regards, Footnotes |
Indeed, I am also observing problems on the "Overwriting a vector store" section in ____ notebook: nbregression(vector_search) ____
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
docs_with_score[0]
------------------
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
Cell In[20], line 1
----> 1 docs_with_score[0]
IndexError: list index out of range
Footnotes |
pre_delete_collection=True
We may have been able to reproduce the flaw on behalf of bringing in corresponding software tests for the accompanying Jupyter Notebooks.
pytest -k "notebook and vector" |
Indeed, this is the only occurrance of
Will have to be investigated. Can you check again? |
By using the standalone example program cratedb-langchain-pre-delete-collection.py, you can exercise that the You may need to invoke the program a few times with and without the line to see the difference. I guess this demonstrates it works well? |
Hi again. Unless there are any objections, let's consider this fixed? |
Problem
When using
pre_delete_collection=True
, there is only an error stating "Collection not found", the actual collection is not deleted / emptied.Details
Example:
vector_search.ipynb
The text was updated successfully, but these errors were encountered: