ApiData().SetExuderContext
Sets the given Exuder’s Conceptual context field
Description
This method sets the context field of an existing Exuder within an existing Behavior, modifying the current SILVIA Brain to do so. Each Exuder may contain an optional context, where certain Concepts must be within recent memory as part of the discussion. If the context constraint is NOT met during the course of conversation, then that Exuder is discarded from consideration in the output phase.
Example Usage (C#)
bool success = _core.ApiData().SetExuderContext(147, 3, “star wars”);
Parameters
int |
id |
The integer numeric value or variable representing the unique ID of the Behavior containing the Exuder. |
int |
exuderId |
The integer numeric value or variable representing the indexed ID of the Exuder, separate from the Behavior ID. |
string |
context |
The string value containing the conversational context constraints for the given Exuder. |
Returns
The boolean success or failure of the operation