replaceSystemMessage

fun Prompt.replaceSystemMessage(id: String = this.id, systemMessageEditor: (String) -> String): Prompt

Create a new Prompt object with the same messages, except for the system prompt.