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
AssertionError
when attempting to query nodes parsed via llama-parse
#162
Comments
This seems like an issue with flag embedding reranker integrations. For some reason, the length of returned scores is different than the length of nodes |
@logan-markewich i see. any suggestions on work arounds or is this something that needs to be fixed in the |
@kevalshah90 seems like an issue in flag embedding reranker -- but you are also using a model thats not meant to be used in flag embeddings (the model you are using should be a sentence transformer rerank model) -- flag embeddings are mostly for BGE models I think |
I followed the
llama_parse
advanced_demo.ipynb
[1] example and was able to parse and generate nodes.However, when i attempt to query the nodes I get an
AssertionError
. I am usingmistralAPI
and here's my re-ranker code.The text was updated successfully, but these errors were encountered: