ApiFeedback().SetProbability
Sets the overall that a Feedback output will be uttered.
Description
When Feedback is enabled, this function serves as a final gate for limiting SILVIA’s Feedback output. The parameter, a coefficient between 0.0 and 1.0, serves as a means to control how probable it is at any given time for SILVIA to generate Feedback output. For instance, one could set the Feedback interval to between 2.0 and 3.0 seconds, and set 0.5 as the probability. The result would be an attempt at a Feedback-generated output every two or three seconds, but an actual output generated only half of the time.
Example Usage (C#)
_core.ApiFeedback().SetProbability(0.75f);
Parameters
float | probability | A coefficient (0.0f – 1.0f) specifying the overall chance that a given Feedback result will be uttered. |
Returns
The boolean success or failure of the operation.
See Also
- ApiFeedback().SetActive
- ApiFeedback().Clarify
- ApiFeedback().SetInterval
- ApiFeedback().SetThreshold