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
Wondering if there's any way to implement an explanation module to show reasoning to the end user and if there's any utility in the framework to make it straightforward.
The text was updated successfully, but these errors were encountered:
There is no explanation module per se, but you can use the watch utility to see what is happening inside pyknow at various levels:
For example:
frompyknowimportwatchwatch('RULES') # Show what rules are triggeredwatch('FACTS') # Show asserted and retracted factswatch('ACTIVATIONS') # Show what rules are activatedwatch('AGENDA') # Agenda changes
To hide details you can use unwatch with the same parameters.
Do you have in mind any other type of reasoning reporting? If so, please provide some examples.
Wondering if there's any way to implement an explanation module to show reasoning to the end user and if there's any utility in the framework to make it straightforward.
The text was updated successfully, but these errors were encountered: