ragnar_retrieve_bm25 {ragnar} | R Documentation |
Retrieves chunks using the BM25 score
Description
BM25 refers to Okapi Best Matching 25. See doi:10.1561/1500000019 for more information.
Usage
ragnar_retrieve_bm25(
store,
text,
top_k = 3L,
...,
k = 1.2,
b = 0.75,
conjunctive = FALSE,
filter
)
Arguments
store |
A |
text |
String, the text to search for. |
top_k |
Integer. Number of nearest entries to find per method. |
... |
Additional arguments passed to the lower-level retrieval functions. |
k , b |
|
conjunctive |
Whether to make the query conjunctive i.e., all terms in the query string must be present in order for a chunk to be retrieved. |
filter |
Optional. A filter expression evaluated with |
See Also
Other ragnar_retrieve:
ragnar_retrieve()
,
ragnar_retrieve_vss()
,
ragnar_retrieve_vss_and_bm25()
[Package ragnar version 0.2.0 Index]