% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/config.R
\name{rem_cfg}
\alias{rem_cfg}
\title{Create a prompt configuration object}
\usage{
rem_cfg(
  provider,
  context,
  action_verb,
  actor_noun,
  node_labels = NULL,
  history_window = 30L
)
}
\arguments{
\item{provider}{An \code{llm_provider} object created by one of the
\verb{llm_provider_*()} functions.}

\item{context}{One or two sentences describing the network domain in second
person (used as the system message).}

\item{action_verb}{Verb describing a directed event, e.g. \code{"attacked"},
\code{"emailed"}, \code{"called"}.}

\item{actor_noun}{Capitalised singular noun for nodes, e.g. \code{"Country"},
\code{"Person"}, \code{"Actor"}.}

\item{node_labels}{Optional named character vector mapping integer node IDs
(as strings) to readable labels, e.g. \code{c("1" = "USA", "2" = "Russia")}.
\code{NULL} generates generic \code{"<actor_noun> <id>"} labels.}

\item{history_window}{Maximum number of past events included in each prompt.
\code{NULL} includes the full history.}
}
\value{
A \code{rem_cfg} object.
}
\description{
Bundles everything that affects prompt construction into a single reusable
object. One \code{rem_cfg} can be passed to multiple \code{\link[=make_query_roleplay_sender]{make_query_roleplay_sender()}},
\code{\link[=make_query_predict]{make_query_predict()}}, and \code{\link[=make_query_roleplay_random]{make_query_roleplay_random()}} calls. Swap
\code{provider} to replicate a study with a different model.
}
\examples{
\dontrun{
cfg <- rem_cfg(
  provider    = llm_provider_openai(),
  context     = "These are militarized conflict events between states.",
  action_verb = "attacked",
  actor_noun  = "Country",
  history_window = 20L
)
print(cfg)
}
}
