You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I did the Notebook 2 (search) of the bootcamp I ran into several errors that seem to come from API changes in the used python packages of langchain and qdrant.
langchain issues:
When trying the proposed cells that show how to do the embeddings with langchain, I receive an value error. The solution has the same cells. When I reviewed the current langchain documentation of Embeddings with Luminous, there appears to be a parameter missing in the AlephAlphaSymmetricSemanticEmbedding() constructor.
Changing it to AlephAlphaSymmetricSemanticEmbedding(normalize=True, compress_to_size=128) fixes the issue
Qdrant issues:
When I wanted to run the cell at step 5 (search and answer) I also had a similar issue, getting an error. The filter and top parameters seem not to exist for the qdrant client any more, as the interface has changed (limit instead of top).
I guess there will be more sections of the bootcamp affected by these changes and would recommend to either lock in the notebooks to a certain version of the used dependencies or to update the code accordingly.
@MarkusSchmitz FYI, I would do the PR but would rather suggest you to decide for a stable version of the dependencies used
The text was updated successfully, but these errors were encountered:
Hi, when I did the Notebook 2 (search) of the bootcamp I ran into several errors that seem to come from API changes in the used python packages of langchain and qdrant.
langchain issues:
When trying the proposed cells that show how to do the embeddings with langchain, I receive an value error. The solution has the same cells. When I reviewed the current langchain documentation of Embeddings with Luminous, there appears to be a parameter missing in the
AlephAlphaSymmetricSemanticEmbedding()
constructor.Changing it to
AlephAlphaSymmetricSemanticEmbedding(normalize=True, compress_to_size=128)
fixes the issueQdrant issues:
When I wanted to run the cell at step 5 (search and answer) I also had a similar issue, getting an error. The
filter
andtop
parameters seem not to exist for the qdrant client any more, as the interface has changed (limitinstead
oftop
).Changing the code for the search query from:
to:
Solved the issue for me.
I guess there will be more sections of the bootcamp affected by these changes and would recommend to either lock in the notebooks to a certain version of the used dependencies or to update the code accordingly.
@MarkusSchmitz FYI, I would do the PR but would rather suggest you to decide for a stable version of the dependencies used
The text was updated successfully, but these errors were encountered: