Man pages for LLMR
Interface for Large Language Model APIs in R

bind_toolsBind tools to a config (provider-agnostic)
build_factorial_experimentsBuild Factorial Experiment Design
cache_llm_callCache LLM API Calls
call_llmCall an LLM (chat/completions or embeddings) with optional...
call_llm_broadcastParallel API calls: Fixed Config, Multiple Messages
call_llm_compareParallel API calls: Multiple Configs, Fixed Message
call_llm_parParallel LLM Processing with Tibble-Based Experiments (Core...
call_llm_par_structuredParallel experiments with structured parsing
call_llm_robustRobustly Call LLM API (Simple Retry)
call_llm_sweepParallel API calls: Parameter Sweep - Vary One Parameter,...
disable_structured_outputDisable Structured Output (clean provider toggles)
enable_structured_outputEnable Structured Output (Provider-Agnostic)
get_batched_embeddingsGenerate Embeddings in Batches
llm_api_key_envDeclare an API key sourced from an environment variable
llm_chat_sessionChat Session Object and Methods
llm_configCreate an LLM configuration (provider-agnostic)
llm_fnApply an LLM prompt over vectors/data frames
llm_fn_structuredVectorized structured-output LLM
llm_mutateMutate a data frame with LLM output
llm_mutate_structuredData-frame mutate with structured output
llm_parse_structuredParse structured output emitted by an LLM
llm_parse_structured_colParse structured fields from a column into typed vectors
llmr_responseLLMR Response Object
llm_validate_structured_colValidate structured JSON objects against a JSON Schema...
log_llm_errorLog LLMR Errors
parse_embeddingsParse Embedding Response into a Numeric Matrix
reset_llm_parallelReset Parallel Environment
setup_llm_parallelSetup Parallel Environment for LLM Processing
LLMR documentation built on Aug. 26, 2025, 9:08 a.m.