Skip to contents

Finds rows where success is FALSE or NA in the output of call_llm_par(), re-runs them, and patches the results back into the original data frame.

Usage

llm_par_resume(results, tries = 3, ...)

Arguments

results

Output from call_llm_par() (must contain config, messages, and success columns).

tries

Number of retries per call. Default 3.

...

Passed to call_llm_par().

Value

The patched data frame with re-run results filled in.

See also

Examples

if (FALSE) { # \dontrun{
results <- call_llm_par(experiments)
results <- llm_par_resume(results, tries = 3)
} # }