Chatbot
interface Chatbot
A chatbot can conduct multiple chat sessions, each identified by a contextId.
Inheritors
Functions
Link copied to clipboard
abstract fun createSession(user: User?, outputChannel: OutputChannel, systemMessage: String? = null): 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.
Link copied to clipboard
Get a chat session by conversation id.