R/pipeline.R
with_inputs.Rd
Specifies constant values to inject as inputs to a module, regardless of what the upstream module outputs.
with_inputs(module, ...)
A Module object
Named values to inject as inputs
A PipelineMappedModule object for use with %>>%
%>>%
if (FALSE) { # \dontrun{ # Inject a constant system prompt mod_retrieve %>>% with_inputs(mod_answer, system_prompt = "Be very concise") %>>% mod_format } # }