Browse Source

AI rule node: correct typo in node markdown example

pull/13371/head
Dmytro Skarzhynets 1 year ago
parent
commit
188825baca
No known key found for this signature in database GPG Key ID: 2B51652F224037DF
  1. 2
      ui-ngx/src/assets/help/en_US/rulenode/ai_node_prompt_settings.md

2
ui-ngx/src/assets/help/en_US/rulenode/ai_node_prompt_settings.md

@ -56,7 +56,7 @@ When the alarm message from "Freezer-B7" is processed by the AI node, the templa
- `${deviceName}` becomes "Freezer-B7"
- `${deviceType}` becomes "CommercialFreezer"
- `$[*]` is replaced by the entire message body JSON: `{"type":"High Temperature","details":{"currentTemp_C":-5,"threshold_C":-18}}`
> **Note:** You can also use `$[*]`. In this case, it will be replaced with the entire message metadata JSON.
> **Note:** You can also use `${*}`. In this case, it will be replaced with the entire message metadata JSON.
The final instruction sent to the AI is a combination of the system and the substituted user prompt.

Loading…
Cancel
Save