Creating
Reports
Reporting on problem and action
samples/basic/tutorial/diagnose_3.kb
In the section on dynamic text we
saw how a text document can contain subgoals. We can use that feature to generate
a report for the user of our diagnostic system.
- Create a new text object, named problem_report.
- Add text of the form:
The problem you are having is %problem%. We recommend you %action%. Good luck.
- Change the goal of the knowledgebase to problem_report.
- Run and experiment.
Copyright ©1996-2002 Amzi! inc. All Rights Reserved. Amzi!,
KnowledgeWright and WebLS are registered trademarks and Subscription Plus and
Logic Server are trademarks of Amzi! inc.