ragnar_retrieve_bm25 | R Documentation |
BM25 refers to Okapi Best Matching 25. See \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1561/1500000019")} for more information.
ragnar_retrieve_bm25(
store,
text,
top_k = 3L,
...,
k = 1.2,
b = 0.75,
conjunctive = FALSE,
filter
)
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 |
Other ragnar_retrieve:
ragnar_retrieve()
,
ragnar_retrieve_vss()
,
ragnar_retrieve_vss_and_bm25()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.