Find answers from the community

Updated 3 weeks ago

Bm25

Hi I wanna use the fusion rerank retriever with elastic search, but when I try to intialize the BM25 retriever I can't because the docstore is empty. I already have data ingested in elastic search. Is this still possible?
L
2 comments
You need to save the nodes somewhere so that bm25 can initialize. Either to disk, or elsewhere. Can't initialize from the vector store alone
I mean, i guess you could set top k to 10000 and get all the nodes lol
Add a reply
Sign up and join the conversation on Discord