Find answers from the community

Updated 9 months ago

Bm25

Very strange!
L
b
6 comments
Oh, that might be a leftover mistake that it's included, because it's not actually in core
pip install llama-index-retrievers-bm25

from llama_index.retrievers.bm25 import BM25Retriever
I hope I spelled that right
Oh ... and I also just realized that the core/retrievers directory does not actually include the bm25_retriever.py module.
That'd explain the import error.
Add a reply
Sign up and join the conversation on Discord