Agent Process Chatbot
Chatbot implementation backed by an AgentProcess The AgentProcess must react to messages 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
Constructors
Functions
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.
Get a chat session by conversation id.