Chatbot

interface Chatbot

A chatbot can conduct multiple chat sessions, each identified by a conversationId.

Inheritors

Functions

Link copied to clipboard
abstract fun createSession(user: User?, outputChannel: OutputChannel, contextId: String? = null, conversationId: String? = null): ChatSession

Create a new chat session, or restore an existing one.

Link copied to clipboard
abstract fun findSession(conversationId: String): ChatSession?

Get a chat session by conversation id.