respondWithSystemPrompt

fun respondWithSystemPrompt(conversation: Conversation, model: Map<String, Any> = emptyMap()): AssistantMessage

Respond in the conversation using the rendered template as system prompt.

Parameters

conversation

the conversation so far

model

the model to render the system prompt template with. Defaults to the empty map (which is appropriate for static templates)