Browse Source
AI rule node: add default value for force ack in node config
pull/13371/head
Dmytro Skarzhynets
1 year ago
No known key found for this signature in database
GPG Key ID: 2B51652F224037DF
1 changed files with
1 additions and
0 deletions
-
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/ai/TbAiNodeConfiguration.java
|
|
@ -59,6 +59,7 @@ public class TbAiNodeConfiguration implements NodeConfiguration<TbAiNodeConfigur |
|
|
configuration.setUserPrompt("Tell me a joke."); |
|
|
configuration.setUserPrompt("Tell me a joke."); |
|
|
configuration.setResponseFormat(new TbJsonResponseFormat()); |
|
|
configuration.setResponseFormat(new TbJsonResponseFormat()); |
|
|
configuration.setTimeoutSeconds(60); |
|
|
configuration.setTimeoutSeconds(60); |
|
|
|
|
|
configuration.setForceAck(true); |
|
|
return configuration; |
|
|
return configuration; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|