| start_rank_job | R Documentation |
Spawns a callr::r_bg subprocess that loads the project's records,
criteria, and ensemble from disk and runs rank_records(). Returns
immediately with a handle the caller can poll or cancel.
start_rank_job(
project,
ensemble = default_ensemble(),
sample_size = NULL,
random_sample = TRUE,
seed = 1L,
force = FALSE
)
project |
Project name. |
ensemble |
A |
sample_size |
Optional integer. If supplied and less than the
number of records, the worker samples |
random_sample |
If sampling, whether to draw at random
(default |
seed |
Random seed used when |
force |
If |
Optionally sub-samples the records so the worker only ranks n
of them. This is the mechanism the Shiny app uses for "quick pilot"
runs against a real Ollama backend: same code path as a full rank,
just fewer records.
A list with pid (the worker PID) and handle (the callr
process object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.