Closed miguelgrinberg closed 1 month ago
A documentation preview will be available soon.
I did not consider the case of rrf = False
, I just assumed that rrf = False
means that hybrid search is off, but now I realize that we have two booleans.
I'm not sure what would be the expected response when having hybrid search enabled and RRF disabled. Does that even make sense? I guess I need to try it out to see what response I get.
@pquentin Okay, new revision of this fix. When the user asks for hybrid=True
and rrf=False
we use a regular query with knn
and query
sections in the body. Only when rrf=True
or rrf=dict(<rrf-options>)
we use the new retriever query.
Fixes #2651