GoalAwareChatbot

class GoalAwareChatbot(contextRepository: ContextRepository, autonomy: Autonomy) : Chatbot

Constructors

Link copied to clipboard
constructor(contextRepository: ContextRepository, autonomy: Autonomy)

Functions

Link copied to clipboard
open override fun createSession(user: User?, 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.

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

Get a chat session by conversation id.