respondWithSystemPrompt

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

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

Return

the assistant message response

Parameters

conversation

the conversation so far

model

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