Agent Platform Chat Session
class AgentPlatformChatSession(val user: User?, val outputChannel: OutputChannel, planLister: PlanLister, val processOptions: ProcessOptions = ProcessOptions(), val responseGenerator: ResponseGenerator, val conversation: Conversation = InMemoryConversation()) : ChatSession
Support for chat sessions leveraging an AgentPlatform.
Constructors
Link copied to clipboard
constructor(user: User?, outputChannel: OutputChannel, planLister: PlanLister, processOptions: ProcessOptions = ProcessOptions(), responseGenerator: ResponseGenerator, conversation: Conversation = InMemoryConversation())
Properties
Functions
Link copied to clipboard
Is the conversation finished?
Link copied to clipboard
Update the conversation with a new message and respond to it. Any response messages will be sent to the messageListener, but also should be added to the conversation.
Link copied to clipboard
Convenience method to add a message to the conversation