instantreality 1.0

Component:
EventUtilities
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

Brain

This node is used to create an Eliza-style communication. You can send clear-text questions to the ask inslot and get a clear-text answer from the answer outslot. This is especially useful for creating avatars that can communicate with the user of the X3D world. To specify the topics the Brain node is able to talk about, you have to specify the URL of an AIML file. Internally, the Brain node depends on the Alice library (see http://www.alicebot.org/ for more information).

Inheritance

Code

XML encoding
<Brain url=''
enabled='TRUE'
logFeature=''
 />
Classic encoding
Brain {
	url [""]
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFString url MFString inputOutput Specifies the location of an AIML file that contains the topics the Brain node is able to talk about. Beware: Due to a bug in the implementation, you have to specify an absolute filename here instead of an URL!
SFString ask SFString inputOnly Send clear-text questions to this inslot. The Brain node answers the questions via the answer outslot.
SFString answer SFString outputOnly Receive the clear-text answers to the questions sent to the ask inslot from this outslot.
SFBool enabled SFBool inputOutput TRUE Enables or disables the node. A node that is disabled does not react to incoming events and does not send events.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element