% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LLMR.R
\docType{package}
\name{LLMR-package}
\alias{LLMR}
\alias{LLMR-package}
\title{LLMR: unified LLM workflows for R}
\description{
LLMR provides provider-agnostic text generation, embeddings, structured JSON,
XML-like tag extraction, chat sessions, robust retries, and parallel
experiment utilities.
}
\section{Common workflows}{

\itemize{
\item One prompt: \code{\link[=call_llm]{call_llm()}} or \code{\link[=call_llm_robust]{call_llm_robust()}}
\item Vectors or data frames: \code{\link[=llm_fn]{llm_fn()}}
\item dplyr pipelines: \code{\link[=llm_mutate]{llm_mutate()}}, including shorthand
\code{llm_mutate(new_col = "{existing_col}", .config = cfg)}
\item Strict structured fields: \code{\link[=llm_mutate_structured]{llm_mutate_structured()}} or \code{\link[=llm_mutate]{llm_mutate()}}
with \code{.structured = TRUE}
\item Soft structured fields: \code{\link[=llm_mutate_tags]{llm_mutate_tags()}} or \code{\link[=llm_mutate]{llm_mutate()}} with \code{.tags}
\item Factorial experiments: \code{\link[=build_factorial_experiments]{build_factorial_experiments()}} and \code{\link[=call_llm_par]{call_llm_par()}}
}
}

\section{Reliability and parallel execution}{

\code{\link[=call_llm_robust]{call_llm_robust()}} retries transient failures. \code{\link[=setup_llm_parallel]{setup_llm_parallel()}}
controls worker count for parallel helpers; \code{\link[=llm_fn]{llm_fn()}} and \code{\link[=llm_mutate]{llm_mutate()}}
use \code{\link[=call_llm_broadcast]{call_llm_broadcast()}} internally.
}

\seealso{
Useful links:
\itemize{
  \item \url{https://github.com/asanaei/LLMR}
  \item \url{https://asanaei.github.io/LLMR/}
  \item Report bugs at \url{https://github.com/asanaei/LLMR/issues}
}

}
\author{
\strong{Maintainer}: Ali Sanaei \email{sanaei@uchicago.edu}

}
\keyword{internal}
