Closed cnndabbler closed 1 year ago
ok, making the following change makes the code complete.
use_ann=False,
Hi, thanks for the kind words.
I suspect the issue is that four docs are not enough to build clusters with faiss
.
Strangely, it works for the dense
but not the hybrid retriever
.
Also, did I report this example somewhere? I cannot find it in the documentation. :D
I know it is in the readme, but it was only intended for the sparse retriever
.
In general, if you have less than 20k documents, it does not make sense to use approximate nearest neighbors.
Closing for inactivity. Feel free to re-open.
First, I really like this project !
Respective sparse and dense examples work with minimal setup.
Issue is with the hybrid mode.
Here is the code:
Error: