Browse Source
AI rule node: change validation message for system prompt to be more consistent with others
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
1 deletions
-
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/ai/TbAiNodeConfiguration.java
|
|
@ -36,7 +36,7 @@ public class TbAiNodeConfiguration implements NodeConfiguration<TbAiNodeConfigur |
|
|
@NotNull |
|
|
@NotNull |
|
|
private AiModelSettingsId aiModelSettingsId; |
|
|
private AiModelSettingsId aiModelSettingsId; |
|
|
|
|
|
|
|
|
@Pattern(regexp = ".*\\S.*", message = "must contain at least one non-whitespace character") |
|
|
@Pattern(regexp = ".*\\S.*", message = "must not be blank") |
|
|
@Length(min = 1, max = 10000) |
|
|
@Length(min = 1, max = 10000) |
|
|
private String systemPrompt; |
|
|
private String systemPrompt; |
|
|
|
|
|
|
|
|
|