ApiData().SetAbsorberText

Modifies a given Absorber with the given AI input pattern.

Description

This function replaces one of the input patterns in the identified Behavior, modifying the current SILVIA Brain to do so.

Example Usage (C#)


bool success = _core.ApiData().SetAbsorberText(147, 0, “what is your name, if you don’t mind me asking?”);

Parameters

int

id

The numeric integer id of the Behavior to modify by changing an Absorber.

int

absorberId

The numeric integer id of the Absorber to modify.

string

pattern

The string value representing the updated Absorber output pattern.

Returns

The boolean value representing the success or failure of the operation.

ApiData()