with System Prompt Template
fun withSystemPromptTemplate(templateName: String, model: Map<String, Any> = emptyMap()): PromptRunner
Render the named template with the given model and return a runner carrying the rendered text as its system prompt.
Return
a runner with the rendered system prompt applied
Parameters
template Name
the name of the template to load and render
model
the model data to use for template rendering. Defaults to the empty map (which is appropriate for static templates)