
Apply an annotation task to input data (deprecated)
annotate.RdArguments
- task
A task object created with
task()orqlm_codebook().- ...
Additional arguments passed to
ellmer::chat(),ellmer::parallel_chat_structured(), orellmer::batch_chat_structured(), based on argument name. Arguments recognized byellmer::parallel_chat_structured()take priority when there are overlaps. Batch-specific arguments (path,wait,ignore_hash) are only used whenbatch = TRUE. Arguments not recognized by any function will generate a warning.
Value
A data frame with one row per input element, containing:
idIdentifier for each input (from names or sequential integers).
- ...
Additional columns as defined by the task's schema.
Details
annotate() has been deprecated in favor of qlm_code(). The new function
returns a richer object that includes metadata and settings for reproducibility.
See also
qlm_code() for the replacement function.