ApiData().AddExuder
Creates a new Exuder with the given AI output pattern
Description
This function creates a new Exuder in the identified Behavior, modifying the current SILVIA Brain to do so. The returned integer Exuder ID value may be used to further modify the newly created Exuder.
Example Usage (C#)
int exID = _core.ApiData().AddExuder(147, “my name is $_a. it is terrific to meet you.”);
Parameters
int |
id |
The numeric integer id of the Behavior to modify by adding an Exuder. |
string |
pattern |
The string value representing the new Exuder output pattern. |
Returns
The integer number value representing the indexed ID for the new Exuder, separate from the Behavior ID. The value is -1 if the operation failed.