Completion method (NotesLLMRequest - LotusScript)
Sends a chat completion request to a large language model (LLM) hosted by the Domino IQ server.
Defined in
Syntax
NotesLLMRequest.completion(SERVER$, COMMAND$, userPROMPT$)SERVER$
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.
userPROMPT$
String. User Prompt is specific input given by provided by the caller of this method. The user prompt is combined with the system prompted defined in the command document and presented to the language model via the Domino IQ server.
Return value
NotesLLMResponse