What This Agent Does
build_data_wrangling_agent() helps with joins,
reshaping, transformations, and repeatable wrangling functions.
Generate Mermaid PNGs
library(LLMAgentR)
my_llm_wrapper <- function(prompt, verbose = FALSE) "LLM response placeholder"
workflow <- build_data_wrangling_agent(
model = my_llm_wrapper,
output = "both",
direction = "LR"
)
save_mermaid_png(
x = workflow,
file = "pkgdown/assets/data-wrangling-agent-workflow.png"
)Step 1: Build the Agent
library(LLMAgentR)
my_llm_wrapper <- function(prompt, verbose = FALSE) "LLM response placeholder"
wrangler <- build_data_wrangling_agent(
model = my_llm_wrapper,
human_validation = FALSE,
bypass_recommended_steps = FALSE,
bypass_explain_code = FALSE,
verbose = FALSE
)