% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prompts.R
\name{make_query_roleplay_sender}
\alias{make_query_roleplay_sender}
\title{Query factory: LLM roleplays as the empirical sender}
\usage{
make_query_roleplay_sender(cfg)
}
\arguments{
\item{cfg}{A \code{rem_cfg} object.}
}
\value{
A function with signature
\code{f(past_events, empirical_event, all_nodes) -> c(sender, receiver)}.
}
\description{
Returns a \code{query_fn} closure in which the LLM is told it IS the empirical
sender at time \emph{t} and asked to choose a receiver. The generated sequence
preserves the empirical sender ordering but uses LLM-selected receivers.
}
\examples{
\dontrun{
cfg <- rem_cfg(
  provider    = llm_provider_openai(),
  context     = "Conflict events between states.",
  action_verb = "attacked",
  actor_noun  = "Country"
)
query_fn <- make_query_roleplay_sender(cfg)
}
}
