-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Error in adding sentence embeddings to existing index #244
Labels
type:bug
Something isn't working
Comments
Thanks for reporting @anetschka ! I am able to reproduce this and already found the bug. While the |
Prima! Allerbesten Dank! |
Should be fixed with #245. Can you please try to pull & install from latest master? |
I confirm that the bug is fixed, closing the ticket, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am trying to use haystack with a sentence embedding model from the sentence-transformers library. Calling indexer.update_embeddings(embedding_retriever) results in an AttributeError.
Error message
line 318, in update_embeddings
"doc": {self.embedding_field: emb.tolist()},
AttributeError: 'list' object has no attribute 'tolist'
So something does not work in the handling of the embeddings given by the model.
System:
The text was updated successfully, but these errors were encountered: