ApiData().SetAbsorberExact

Enables or disables the Absorber’s requirement for an exact Conceptual match on the user input.

Description

This method sets the “exact” state of an existing Absorber within an existing Behavior, modifying the current SILVIA Brain to do so. Normally, when matching Absorbers to user input, SILVIA accepts reasonably close Conceptual matches, within a certain threshold (see ApiBrain().SetAbsorberThreshold). When the “exact” state is enabled for a particular Absorber, the Conceptual input given by the user must COMPLETELY match the given Absorber for that Behavior to be considered. This is a useful constraint for mission critical input, where no mistakes on the user’s part during input are to be allowed.

Example Usage (C#)


bool success = _core.ApiData().SetAbsorberExact(147, 0, true);

Parameters

int

id

The integer numeric value or variable representing the unique ID of the Behavior containing the Exuder.

int

absorberId

The integer numeric value or variable representing the indexed ID of the Absorber, separate from the Behavior ID.

bool

exact

The boolean value, true or false, to enable or disable the “exact” constraint for the given Absorber.

Returns

The boolean success or failure of the operation

ApiData()