Package-level declarations
Types
Link copied to clipboard
class AgentProcessChatbot(agentPlatform: AgentPlatform, agentSource: AgentSource, listenerProvider: ListenerProvider = ListenerProvider { _, _ -> emptyList() }) : Chatbot
Chatbot implementation backed by an 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.
Link copied to clipboard
Link copied to clipboard
interface BlackboardEntryFormatter
Link copied to clipboard
interface BlackboardFormatter
Present the context of the blackboard to the agent in a textual form. Exclude conversation and user input.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Convenient supertype for chatbot agent returns
Link copied to clipboard
Link copied to clipboard
class DefaultBlackboardFormatter(entryFormatter: BlackboardEntryFormatter = DefaultBlackboardEntryFormatter) : BlackboardFormatter
Link copied to clipboard
class DefaultChatAgentBuilder(autonomy: Autonomy, llm: <Error class: unknown class>, persona: Persona = MARVIN, promptTemplate: String = "chat/default_chat", blackboardFormatter: BlackboardFormatter = DefaultBlackboardFormatter())
Convenient class to build a default chat agent.
Link copied to clipboard