
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(). Arguments recognized byellmer::parallel_chat_structured()orellmer::batch_chat_structured()are routed there; all other arguments (including provider-specific arguments likebase_url,credentials, orapi_argsfor OpenAI-compatible endpoints) are passed toellmer::chat().
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.