You will have to write your own "Viewer" class. Create a new module that extends from AI::ExpertSystem::Advanced::Viewer::Base
and implement each method that has a stub in that base class.
The source and documentation of `AI::ExpertSystem::Advanced::Viewer::Base' will prove to be helpful in this task.
Update
To write your own viewer class, create a file that looks something like this:
package My::AI::Viewer;
use Moose;
extends 'AI::ExpertSystem::Advanced::Viewer::Base';
sub debug {
# your implementation goes here
}
...
When you are done with that class, I suppose you can pass its name to the constructor of the expert system module under the viewer_class
key.