Interface for Large Language Model APIs in R


[Up] [Top]

Documentation for package ‘LLMR’ version 0.5.0

Help Pages

as.data.frame.llm_chat_session Stateful chat session constructor
build_factorial_experiments Build Factorial Experiment Design
cache_llm_call Cache LLM API Calls
call_llm Call LLM API
call_llm_broadcast Parallel API calls: Fixed Config, Multiple Messages
call_llm_compare Parallel API calls: Multiple Configs, Fixed Message
call_llm_par Parallel LLM Processing with Tibble-Based Experiments (Core Engine)
call_llm_robust Robustly Call LLM API (Simple Retry)
call_llm_sweep Parallel API calls: Parameter Sweep - Vary One Parameter, Fixed Message
chat_session Stateful chat session constructor
get_batched_embeddings Generate Embeddings in Batches
head.llm_chat_session Stateful chat session constructor
llm_chat_session Stateful chat session constructor
llm_config Create LLM Configuration
llm_fn Applies an LLM prompt to every element of a vector
llm_mutate Mutate a data frame with LLM output
log_llm_error Log LLMR Errors
parse_embeddings Parse Embedding Response into a Numeric Matrix
print.llm_chat_session Stateful chat session constructor
reset_llm_parallel Reset Parallel Environment
setup_llm_parallel Setup Parallel Environment for LLM Processing
summary.llm_chat_session Stateful chat session constructor
tail.llm_chat_session Stateful chat session constructor