Package-level declarations

Types

Link copied to clipboard
data class TemplatedPromptRunnerBuilder(val context: OperationContext, val runner: PromptRunner)

Wrapper builder that renders a loaded template into a system prompt for a PromptRunner, using the platform com.embabel.common.textio.template.TemplateRenderer available from the OperationContext. Keeps template handling out of the PromptRunner sub-interfaces, following the same pattern as com.embabel.agent.api.streaming.StreamingPromptRunnerBuilder.