IsCommandAvailable method (LLMReq - Java)
Returns True if the given command is available to use by the LLMRequest Completion method.
Defined in
Data type
boolean
Syntax
public boolean LLMReq.isCommandAvailable(String server, String command)
throws NotesException
Parameters
String server
The Domino Server IQ name that is needed to send the request. If empty, the request will be routed to the Domino IQ server configured to service the command.
String command
The name of a command document defined in the Domino IQ configuration database. The command document specifies a system prompt that guides the LLM behavior and responses.
boolean suppressErrors
It is optional parameter, if true, the query will suppress (not throw exception) if an internal notes error happen, only return false value.
Legal value
true if the command is available for Domino IQ.
false if the command is not available for Domino IQ.
Usage
Method will Throws a NotesException if the availability of a request can't be determined due to lower-level failures you can susspress the Exception by passing true value to suppressErrors parameter.
If your agent uses this method on Notes Client, keep in mind that Notes Client will catch the command list until it is restarted. To ensure the method checks the updated command list, you need to restart Notes Client after making any updates.