ApiData().GetAbsorberExact

Returns a true or false value of the Absorber’s requirement for an exact Conceptual match on the user input.

Description

This method gets the “exact” state of an existing Absorber within an existing Behavior. 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 exact = _core.ApiData().GetAbsorberExact(147, 0);

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.

Returns

The boolean value, true or false, representing the state of the “exact” constraint for the given Absorber.

ApiData()