OAA Debug Interface
version 2.0.3, November 1999
Contents:
The OAA Debug Interface program is used to send ICL messages to
an individual agent or to the agent community, generally for debugging
purposes. Requests may be entered in ICL form or as English queries,
if a natural language agent (such as DCG-NL or Gemini) is present in
the agent community.
The interface is structured in three parts:
- A set of "shortcut" buttons representing often-used queries
- A log window to display information returned from the agent
community
- A tasking panel, containing fields for entering requests in
English or in ICL.
Typing in a request in either the English or ICL input fields and then
pressing the respective send button will send the request to the agent
community. Any results will be displayed in the log window.
Note: ICL commands typed in the ICL field are in a form as specified
by the Prolog agent library, not the Java one. For instance,
oaa_Solve() should take 2 arguments, not 3:
- Prolog: oaa_Solve(Goal, Params) [use this one in Debug agent]
- Java: oaa_Solve(Goal, Params, Solutions)
- Long message results will be truncated in the debug window
to 4000 characters. This is a result of a bug in the
display portion of Swing's JList/ScrollPane components.
To see long results, use the "Display to Console" option
instead.
Not yet implemented:
- Backward compatibility for NLF natural language agent.
- Configuration file to allow user-defined buttons.
- Should declare an optional user name (on command line)
so references to "my" and "me" work.
- Add calls to GEN_NL (icl_to_nl) to generate natural language from
solutions
- Correctly handle compound natural language (e.g. "phone number of
adam cheyer's boss")
Copyright (c) 1999 by SRI International