Start a new chat session
This function starts a new chat session by initializing a messages object with an initial system message, creating a new log environment to store the messages, and adding the messages object to the log environment.
start_chat( initial_role = "system", initial_content = "You are a helpful assistant.", show = FALSE, chatlog_id = NULL )
A character string representing the role issueing the initial content (per default: "system")
A character string representing the initial message from the system
Logical, if TRUE, the current chat log is displayed via View(). Default is FALSE.
A character string representing the ID of this conversation. Per default, this will be set automatically.