trail_record(
data,
text_col,
task,
setting,
id_col = NULL,
cache_dir = NULL,
overwrite = FALSE,
annotate_fun = annotate
)An object of class "trail_record".
A data frame containing the text to be annotated.
Character scalar. Name of the text column.
A quallmer task object.
A trail_setting object describing the LLM configuration.
Optional character scalar identifying units.
Optional directory in which to cache Trails. If NULL, caching disabled.
For examples and tests, use tempdir() to comply with CRAN policies.
Whether to overwrite existing cache.
Function used to perform the annotation.
trail_record() is deprecated. Use qlm_code() instead, which automatically
captures metadata for reproducibility. For systematic comparisons across
different models or settings, see qlm_replicate().