You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the dev-master version you can get the confidence from the step $step->getConfidence(). This feature was implemented here: https://github.com/tgallice/wit-php/pull/24/files
If you have an older version take care to the BC.
In the abstract class ActionMapping, I have action interface like this:
abstract public function action($sessionId, $actionName, Context $context, array $entities = []);
It doesn't have $step parameter. So weird.
Like the confidence value showing in Wit.ai Log tab, I want to response unknow message when the confidence is too low.
The text was updated successfully, but these errors were encountered: