IsCommandAvailable method (NotesLLMRequest - LotusScript)
Returns True if the given command is available to use by the LLMRequest Completion method.
Defined in
Syntax
flag =NotesLLMRequest.isCommandAvailable(SERVER$, COMMAND$[,suppressErrors ] )
Parameters
SERVER$
String. 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.
COMMAND$
String. 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.
suppressErrors
Boolean. Optional. If True, suppress any internal Notes error handling, will not raise exception only return False in case of error.
Return value
Returns True if the command is available for Domino IQ.
Returns False if the command is not available for Domino IQ.
Usage
If not pass insuppressErrors = True, raises an Error if the availability of a request can not be determined due to lower-level failures.
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.