public class ElizaAgent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The eliza agent.
|
protected jadex.bridge.service.types.chat.IChatGuiService |
chat
The gui service for controlling the inner chat component.
|
protected java.util.Map<jadex.bridge.IComponentIdentifier,jadex.commons.Tuple2<ElizaParse,java.lang.Long>> |
conversations
Each contact gets its own eliza conversation.
|
Constructor and Description |
---|
ElizaAgent() |
Modifier and Type | Method and Description |
---|---|
void |
start()
Register to inner chat at startup.
|
protected void |
writeToLog(java.lang.String text,
jadex.bridge.IComponentIdentifier partner)
Write logs of conversations.
|
protected jadex.bridge.IInternalAccess agent
protected jadex.bridge.service.types.chat.IChatGuiService chat
protected java.util.Map<jadex.bridge.IComponentIdentifier,jadex.commons.Tuple2<ElizaParse,java.lang.Long>> conversations
public void start()
protected void writeToLog(java.lang.String text, jadex.bridge.IComponentIdentifier partner)
text
- The text to write to the log.cid
- The component identifier of the chat partner.