AI rule node: correct typo in node markdown example

This commit is contained in:
Dmytro Skarzhynets 2025-07-16 16:54:17 +03:00
parent 7315f3ba15
commit 188825baca
No known key found for this signature in database
GPG Key ID: 2B51652F224037DF

View File

@ -56,7 +56,7 @@ When the alarm message from "Freezer-B7" is processed by the AI node, the templa
- `${deviceName}` becomes "Freezer-B7" - `${deviceName}` becomes "Freezer-B7"
- `${deviceType}` becomes "CommercialFreezer" - `${deviceType}` becomes "CommercialFreezer"
- `$[*]` is replaced by the entire message body JSON: `{"type":"High Temperature","details":{"currentTemp_C":-5,"threshold_C":-18}}` - `$[*]` 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. The final instruction sent to the AI is a combination of the system and the substituted user prompt.