Chat Completion (NVIDIA NIM) Control Tower
An AI Control Tower that generates text output from data provided from an AgilePoint NX app to an LLM.

Background and Setup
Examples
- (External) AI Control Towers & New Process Activities for Nvidia NIM
- Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.
Prerequisites
- AgilePoint NX OnDemand (public cloud), AgilePoint NX PrivateCloud, or AgilePoint NX OnPremises v10.0 or higher.
Good to Know
- To send an email notification, click
Advanced
>
Email Notifications
. For more information, refer to Email Notifications screen (Process Activities).
- In most text fields, you can use process data variables as an alternative to literal data values.
- You can configure whether this activity waits for other activities before it runs.
For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?
- This section shows the configuration settings on the configuration screens for this activity. Other configuration settings apply to system activities. For more information, refer to:
How to Start
- Open Process Builder.
For information about how to open this screen, refer to Process Builder.

- In Process Builder, in the Activity Library,
open the NVIDIA NIM tab.

- On the NVIDIA NIM tab, click the Control Towers tab.

- On the NVIDIA NIM > Control Towers tab,
drag the Chat Completion
activity onto your process.

General Configuration
Specifies the basic settings for the Control Tower.

Good to Know
- Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.
Fields
| Field Name | Definition |
|---|---|
|
Display Name |
|
|
Description |
|
Chat Completion Configuration > NVIDIA NIM > Model Properties tab
Configures the LLM to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
NVIDIA NIM |
|
|
Create |
|
|
Model |
|
Use Model Configured In Access Token |
|
|
Frequency Penalty |
|
|
Presence Penalty |
|
|
Maximum Token Length |
|
|
Stop Sequences |
|
|
Temperature |
|
|
Nucleus Sampling (top_p) |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction tab
Configures the system instruction that is used to guide the LLM to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
NVIDIA NIM |
|
|
Create |
|
Set System Instruction |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Goals/Mission tab
Specifies the goals or rules for the LLM to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Goals / Mission |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Skills tab
Specifies the skills or roles for the LLM used to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Skills |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Input tab
Specifies the input content the LLM used to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Input |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Instruction tab
Specifies any guidance or information to refine the response of the model to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Instruction |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Quality Verification tab
Specifies any guidance or information to verify the accuracy of the generated text output.

Fields
| Field Name | Definition |
|---|---|
|
Quality Verification |
|
Chat Completion Configuration > NVIDIA NIM > System Instruction > Output tab
Specifies the output format the LLM used to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Output |
|
Chat Completion Configuration > Triggering Event tab
Configures an activity on which to run the LLM to generate text output.

Fields
| Field Name | Definition |
|---|---|
|
Activity |
|
On Event |
|
Set Trigger Condition |
|
Chat Completion Configuration > Triggering Event tab > Set Trigger Condition
Specifies the conditions that cause the LLM to run.

Fields
| Field Name | Definition |
|---|---|
|
Rule Type |
|
Rule Name | |
|
Add New Rule |
|
|
Edit |
|
|
Delete |
|
Chat Completion Configuration > Triggering Event > Condition Builder screen
Creates or changes logical rules. You can put one statement inside another statement to create complex logical expressions.

Fields
| Field Name | Definition | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Condition Name |
| ||||||||||
|
Preview |
| ||||||||||
|
Validate |
| ||||||||||
|
Rule Variable |
| ||||||||||
|
Operator |
| ||||||||||
|
Rule Value |
| ||||||||||
|
Add Row |
| ||||||||||
Select Nest Type |
| ||||||||||
|
Indent Right |
| ||||||||||
|
Delete |
| ||||||||||
|
Back |
|
Chat Completion Configuration > Request tab
Specifies how to connect the request data from the LLM to the AgilePoint process schema.

Fields
| Field Name | Definition |
|---|---|
|
Message Content / Map JSON Request To App Schema |
|
Chat Completion Configuration > Response tab
Specifies where to store the response from the LLM.

Fields
| Field Name | Definition |
|---|---|
|
Map NVIDIA NIM Response To App Schema / Map JSON Response To App Schema |
|
|
Store Response JSON In This Variable |
|
|
Store Response Content In This Variable (String) |
Chat Completion Configuration > Parsing tab
Configures the parsing actions to extract the information from the generated text output.

Fields
| Field Name | Definition |
|---|---|
|
Add Row |
|
|
Validate |
|
|
Action |
|
|
Input |
|
|
Results | |
|
Settings |
|
|
On Fail |
|
|
Delete |
|
|
Edit |
|
|
Edit |
|
|
Edit |
|
|
Save Parsing Status In This Variable (Boolean) |
|
|
Save Parsing Error Message In This Variable (String) |
Chat Completion Configuration > Parsing > JSON Parsing screen
Configures the JSON code snippet for parsing the generated text output.

Fields
| Field Name | Definition |
|---|---|
|
JSON Path |
|
|
JSON Input |
|
|
Store JSON Parsing Result In This Variable | |
Skip JSON Parsing If Exception Occurs |
|
Chat Completion Configuration > Parsing > Inline Function
Configures one or more inline functions to parse the chat completion result.

Fields
| Field Name | Definition |
|---|---|
Formula |
|
Inline Functions |
|
|
Description |
|
Skip Inline Function If Exception Occurs |
|
|
Apply |
|
Chat Completion Configuration > Parsing > Regex Parsing
Configures a regular expression for parsing the generated text output.

Fields
| Field Name | Definition |
|---|---|
|
Regex Syntax |
|
|
Perform Regex Match On This Text |
|
|
Store Regex Parsing Result In This Variable | |
Skip Regex Parsing If Exception Occurs |
|
Chat Completion Configuration > Parsing > Validate screen
Makes sure whether the parsing actions configured on the Parsing tab are correct.

Fields
| Field Name | Definition |
|---|---|
|
Response Payload Sample |
|
|
Settings |
|
|
Input |
|
|
Results |
|
|
Test |
|
Chat Completion Configuration > Actions tab
Specifies variables to store the status of the LLM and to store the error message if an error occurs in the LLM. It also configures what to do when an error occurs in the AgilePoint NX app.

Fields
| Field Name | Definition |
|---|---|
|
Save Status In This Variable (Boolean) | |
|
Save Error Message In This Variable (String) | |
Suspend Process Instance If Exception Occurs |
|
Enable Debug |
|


