ApiFeedback().SetInterval

Sets the range in seconds of time between Cognitive Feedback generated outputs.

Description

This function controls SILVIA’s overall “chattiness”, when Feedback is enabled. The range is specified as a minimum and maximum. When enabled, each Feedback utterance is generated n seconds after the previous Feedback utterance, where n is a random value between the minimum and maximum Note that this function applies to both the “SetActive” and “Clarify” forms of Feedback enablement. For obvious reasons, “minimum” should be <= “maximum”.

Example Usage (C#)


_core.ApiFeedback().SetInterval(5.0f, 10.0f);

Parameters

float minimum A number value specifying the lower range of possible Feedback intervals.
float maximum A number value specifying the upper range of possible Feedback intervals.

Returns

The boolean success or failure of the operation.

See Also

  • ApiFeedback().SetActive
  • ApiFeedback().Clarify
  • ApiFeedback().SetThreshold
  • ApiFeedback().SetProbability