create Session
open override fun createSession(user: User?, outputChannel: OutputChannel, systemMessage: String?): ChatSession
Create a new chat session. If user is provided, the session will be associated with that user. Optionally, a system message can be provided to set the context for the session.
Parameters
user
the user to associate the session with, or null for anonymous
output Channel
the output channel to send messages to
system Message
optional system message to set the context for the session