Agent Process Chatbot
Chatbot implementation backed by an ongoing AgentProcess The AgentProcess must react to UserMessage and respond on its output channel The AgentProcess can assume that the Conversation will be available in the blackboard, and the latest UserMessage. Action methods will often take precondition being that the last event was a UserMessage. A convenient approach is for the core action methods to return ChatbotReturn, and handle ConversationOver, although that is not required.
Parameters
the agent platform to create and manage agent processes
factory for agents. The factory is called for each new session. This allows lazy loading and more flexible usage patterns
factory for creating conversations. Defaults to in-memory. For persistent storage, inject a StoredConversationFactory from embabel-chat-store.
Constructors
Functions
Create a new chat session, or restore an existing one.
Get a chat session by conversation id.