respond With Trigger
abstract fun respondWithTrigger(conversation: Conversation, triggerPrompt: String, model: Map<String, Any> = emptyMap()): AssistantMessage
Respond to a system-initiated trigger using the rendered template as system prompt. The trigger prompt is appended as a user message to the LLM call but not stored in the conversation.
Return
the assistant message response
Parameters
conversation
the conversation so far
trigger Prompt
the trigger prompt to send to the LLM
model
the model data to render the system prompt template with