Find answers from the community

Updated 9 months ago

Has anyone succeeded with using `BM25`

Has anyone succeeded with using BM25 retriever using a VectorStoreIndex? The documentation says it can receive nodes, docstore or index, but when using Index (from PGVectorStoreIndex), it throws ZeroDivisionError (rightfully as index.docstore is empty).
Attachment
image.png
L
1 comment
the docstore is not populated when using a remove vector db

You can pass in the nodes directly, or maintain and persist a docstore to use with this
Add a reply
Sign up and join the conversation on Discord