% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prompts.R
\name{make_query_predict}
\alias{make_query_predict}
\title{Query factory: LLM predicts the next event}
\usage{
make_query_predict(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 that shows the LLM the event history and asks
it to predict both the sender and receiver of the next event. Tests the
model's implicit understanding of network dynamics rather than its own
behavioural tendencies.
}
\examples{
\dontrun{
cfg <- rem_cfg(
  provider    = llm_provider_openai(),
  context     = "Conflict events between states.",
  action_verb = "attacked",
  actor_noun  = "Country"
)
query_fn <- make_query_predict(cfg)
}
}
