Create a report from bioRxiv/medRxiv preprints
Usage
biorecap_report(
output_dir = ".",
subject = NULL,
nsentences = 2L,
model = "llama3.2",
host = NULL,
use_example_preprints = FALSE,
...
)
Arguments
- output_dir
Directory to save the report.
- subject
Character vector of subjects to include in the report.
- nsentences
Number of sentences to summarize each paper in.
- model
The model to use for generating summaries. See
ollamar::list_models()
.- host
The base URL to use. Default is
NULL
, which uses Ollama's default base URL.- use_example_preprints
Use the example preprints data included with the package instead of fetching new data from bioRxiv/medRxiv. For diagnostic/testing purposes only.
- ...
Other arguments passed to
rmarkdown::render()
.