Template Operations
Deprecated
Use PromptRunner.Rendering instead
Replace with
import com.embabel.agent.api.common.PromptRunner.Rendering
Content copied to clipboard
PromptRunner.RenderingContent copied to clipboard
Llm operations based on a compiled template. Similar to com.embabel.agent.api.common.PromptRunnerOperations, but taking a model instead of a template string.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generate text using the given model to render the template and LLM options from context.
Link copied to clipboard
abstract fun respondWithSystemPrompt(conversation: Conversation, model: Map<String, Any> = emptyMap()): AssistantMessage
Respond in the conversation using the rendered template as system prompt.