@emqx/shared-ui-i18n 0.0.85 → 0.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/en/flow.d.ts CHANGED
@@ -31,8 +31,39 @@ export declare const enFlow: {
31
31
  incorrectInputOutputConnection: string;
32
32
  incorrectOutputNodeConnection: string;
33
33
  incorrectDefaultNodeConnection: string;
34
+ decisionQuestionsRequired: string;
35
+ decisionNameRequired: string;
36
+ decisionInstructionsRequired: string;
37
+ decisionDuplicateNames: string;
38
+ decisionChoicesRequired: string;
39
+ decisionChoiceValueRequired: string;
40
+ decisionDuplicateChoices: string;
41
+ decisionLevelsRequired: string;
42
+ decisionLevelLabelRequired: string;
43
+ decisionInvalidQuestionType: string;
34
44
  input: string;
35
45
  systemPromptDesc: string;
46
+ decisionQuestions: string;
47
+ decisionType: string;
48
+ decisionInstructions: string;
49
+ decisionPredicate: string;
50
+ decisionChoice: string;
51
+ decisionScore: string;
52
+ decisionChoices: string;
53
+ decisionLevels: string;
54
+ decisionLabel: string;
55
+ decisionDescription: string;
56
+ decisionValue: string;
57
+ decisionString: string;
58
+ decisionBoolean: string;
59
+ decisionRemove: string;
60
+ decisionAddChoice: string;
61
+ decisionAddLevel: string;
62
+ decisionAddQuestion: string;
63
+ decisionRemoveQuestion: string;
64
+ decisionMoveUp: string;
65
+ decisionMoveDown: string;
66
+ decisionLevelsHint: string;
36
67
  model: string;
37
68
  maxTokens: string;
38
69
  anthropicVersion: string;
@@ -41,6 +72,7 @@ export declare const enFlow: {
41
72
  geminiBaseUrlTips: string;
42
73
  aiOutputAlias: string;
43
74
  aiOutputAliasDesc: string;
75
+ decisionOutputHint: string;
44
76
  aliasDesc: string;
45
77
  connectTimeout: string;
46
78
  recvTimeout: string;
package/dist/index.js CHANGED
@@ -473,6 +473,18 @@ FROM
473
473
  parameters_record_type: "Record Type",
474
474
  schema_name: "Protobuf Schema Name",
475
475
  message_type: "Protobuf Message Type"
476
+ },
477
+ nats: {
478
+ subject: "Subject",
479
+ payload_template: "Payload Template",
480
+ headers: "Headers",
481
+ key: "Header Key",
482
+ value: "Header Value",
483
+ delivery_mode: "Delivery Mode",
484
+ msg_id_template: "Message ID Template"
485
+ },
486
+ emqx_tables: {
487
+ field_types: "Field Types"
476
488
  }
477
489
  }, a = {
478
490
  common: {
@@ -779,6 +791,18 @@ FROM
779
791
  parameters_record_type: "记录类型",
780
792
  schema_name: "Protobuf Schema 名称",
781
793
  message_type: "Protobuf 消息类型"
794
+ },
795
+ nats: {
796
+ subject: "Subject",
797
+ payload_template: "消息模板",
798
+ headers: "消息头",
799
+ key: "消息头名称",
800
+ value: "消息头值",
801
+ delivery_mode: "投递模式",
802
+ msg_id_template: "消息 ID 模板"
803
+ },
804
+ emqx_tables: {
805
+ field_types: "字段类型"
782
806
  }
783
807
  }, o = {
784
808
  common: {
@@ -861,6 +885,7 @@ FROM
861
885
  active_n: "Active N"
862
886
  },
863
887
  kafka_producer: {
888
+ kafka_client_id: "Kafka Client ID",
864
889
  authentication_endpoint: "Roles Anywhere Endpoint",
865
890
  authentication_region: "AWS Region",
866
891
  authentication_type: "Authentication Type",
@@ -868,6 +893,7 @@ FROM
868
893
  kerberos_keytab_file: "Kerberos Keytab File"
869
894
  },
870
895
  http: {
896
+ active_health_check_enable: "Active HTTP Health Check",
871
897
  url: "URL",
872
898
  headers: "Headers",
873
899
  enable_pipelining: "HTTP Pipelining",
@@ -1096,6 +1122,19 @@ FROM
1096
1122
  transport_pipelining: "HTTP Pipelining",
1097
1123
  transport_max_inactive: "Maximum Inactivity",
1098
1124
  ssl: "Zerobus TLS"
1125
+ },
1126
+ nats: {
1127
+ servers: "Servers",
1128
+ pool_size: "Connection Pool Size",
1129
+ connect_timeout: "Connect Timeout",
1130
+ authentication: "Authentication",
1131
+ mechanism: "Authentication Mechanism",
1132
+ username: "Username",
1133
+ password: "Password",
1134
+ token: "Token",
1135
+ nkey_seed: "NKey Seed",
1136
+ credentials_file_content: "Credentials File Content",
1137
+ tls_handshake: "TLS Handshake"
1099
1138
  }
1100
1139
  }, r = {
1101
1140
  common: {
@@ -1178,6 +1217,7 @@ FROM
1178
1217
  active_n: "TCP 接收批量数"
1179
1218
  },
1180
1219
  kafka_producer: {
1220
+ kafka_client_id: "Kafka 客户端 ID",
1181
1221
  authentication_endpoint: "Roles Anywhere 端点",
1182
1222
  authentication_region: "AWS 区域",
1183
1223
  authentication_type: "认证类型",
@@ -1185,6 +1225,7 @@ FROM
1185
1225
  kerberos_keytab_file: "Kerberos Keytab 文件"
1186
1226
  },
1187
1227
  http: {
1228
+ active_health_check_enable: "主动 HTTP 健康检查",
1188
1229
  url: "URL",
1189
1230
  headers: "请求头",
1190
1231
  enable_pipelining: "HTTP 管道",
@@ -1413,6 +1454,19 @@ FROM
1413
1454
  transport_pipelining: "HTTP 流水线",
1414
1455
  transport_max_inactive: "最大空闲时间",
1415
1456
  ssl: "Zerobus TLS"
1457
+ },
1458
+ nats: {
1459
+ servers: "服务器地址",
1460
+ pool_size: "连接池大小",
1461
+ connect_timeout: "连接超时",
1462
+ authentication: "认证方式",
1463
+ mechanism: "认证机制",
1464
+ username: "用户名",
1465
+ password: "密码",
1466
+ token: "Token",
1467
+ nkey_seed: "NKey 种子",
1468
+ credentials_file_content: "凭据文件内容",
1469
+ tls_handshake: "TLS 握手方式"
1416
1470
  }
1417
1471
  }, i = {
1418
1472
  authn: {
@@ -1582,7 +1636,17 @@ HGETALL mqtt_acl:\${username}`
1582
1636
  transport_transport_grpc: "gRPC",
1583
1637
  transport_transport_rest: "REST",
1584
1638
  parameters_record_record_json: "JSON",
1585
- parameters_record_record_proto: "Protobuf"
1639
+ parameters_record_record_proto: "Protobuf",
1640
+ authentication_auth_user_password: "Username / Password",
1641
+ authentication_auth_nkey: "NKey",
1642
+ authentication_auth_jwt: "JWT Credentials",
1643
+ user_password: "Username / Password",
1644
+ nkey: "NKey",
1645
+ jwt: "JWT Credentials",
1646
+ starttls: "STARTTLS",
1647
+ first: "TLS First",
1648
+ core: "Core NATS",
1649
+ jetstream: "JetStream"
1586
1650
  }, n = {
1587
1651
  async: "异步",
1588
1652
  sync: "同步",
@@ -1684,7 +1748,17 @@ HGETALL mqtt_acl:\${username}`
1684
1748
  transport_transport_grpc: "gRPC",
1685
1749
  transport_transport_rest: "REST",
1686
1750
  parameters_record_record_json: "JSON",
1687
- parameters_record_record_proto: "Protobuf"
1751
+ parameters_record_record_proto: "Protobuf",
1752
+ authentication_auth_user_password: "用户名 / 密码",
1753
+ authentication_auth_nkey: "NKey",
1754
+ authentication_auth_jwt: "JWT 凭据",
1755
+ user_password: "用户名 / 密码",
1756
+ nkey: "NKey",
1757
+ jwt: "JWT 凭据",
1758
+ starttls: "STARTTLS",
1759
+ first: "TLS 优先",
1760
+ core: "Core NATS",
1761
+ jetstream: "JetStream"
1688
1762
  }, c = {
1689
1763
  common: {
1690
1764
  auto_restart_interval: "资源断开以后,自动重连的时间间隔。",
@@ -1761,6 +1835,10 @@ HGETALL mqtt_acl:\${username}`
1761
1835
  active_n: "每个连接在一次批处理中处理的 TCP 入站事件数量。值越大,繁忙连接的吞吐可能越高;值越小,单连接延迟可能更低。默认值:<code>10</code>。"
1762
1836
  },
1763
1837
  http: {
1838
+ active_health_check_timeout: "开启主动 HTTP 健康检查时,连接器健康检查超时必须为有限值。",
1839
+ active_health_check_enable: "发送 HTTP 请求检查目标端点。仅完整的 2xx 响应表示成功,不跟随重定向。检查失败会使连接器及关联动作不可用。使用连接器的 TLS、OAuth2 和静态请求头,以及 resource_opts.health_check_interval 和有限的 resource_opts.health_check_timeout。默认关闭。",
1840
+ active_health_check_method: "健康检查的 HTTP 方法。支持 GET 和 HEAD,默认为 GET,不发送请求体。",
1841
+ active_health_check_path: "相对于服务器根目录的健康检查路径,例如 /health?full=1。替换连接器 URL 中的路径。必须以 / 开头,不能包含主机、片段或模板变量。开启时必填。",
1764
1842
  url: "HTTP 连接器的 URL。<br/>路径中支持占位符,但在主机或端口部分中不能使用占位符。<br/>例如,`http://localhost:9901/${'{'}topic{'}'}` 是允许的,但是 `http://${'{'}host{'}'}:9901/message` 或 `http://localhost:${'{'}port{'}'}/message `不允许。",
1765
1843
  body: "例如:${'{'}payload{'}'}, ${'{'}clientid{'}'}, ${'{'}topic{'}'}, ${'{'}username{'}'} 等。请根据使用动作的业务需求来选择字段,置空则原样转发消息。",
1766
1844
  path: "此操作的 URL 路径。<br/>此路径将附加到连接器的 <code>url</code> 配置中,以形成完整的 URL 地址。此选项中允许使用带有变量的模板。 例如,<code>/room/{'{'}$room_no{'}'}</code>",
@@ -1863,6 +1941,7 @@ HGETALL mqtt_acl:\${username}`
1863
1941
  partitions_limit: "限制生产者能够发送消息的最大分区数量。"
1864
1942
  },
1865
1943
  kafka_producer: {
1944
+ kafka_client_id: "EMQX 在 Kafka 协议请求头中发送此标识。Kafka 将它与认证用户的身份一起用于配额和指标统计。留空时由 EMQX 选择标识,最长为 32,767 个 UTF-8 字节。",
1866
1945
  bootstrap_hosts: "用逗号分隔的 <code>host[:port]</code> 主机列表。默认端口号为 9092。",
1867
1946
  authentication: "认证参数。",
1868
1947
  authentication_endpoint: "AWS IAM Roles Anywhere 凭证进程提供 API 的端点。",
@@ -2190,7 +2269,8 @@ HGETALL mqtt_acl:\${username}`
2190
2269
  - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
2191
2270
  - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2192
2271
  - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
2193
- - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`
2272
+ - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`,
2273
+ field_types: "为 EMQX Tables 自动建表时的字段指定类型。键为写入语法中的字段名,类型目前仅支持 <code>json2</code>。字段缺失时会跳过。字段值必须是 JSON 对象或 <code>null</code>,对象内可包含数组。如果某个值无法编码为 JSON2,则不会发送该表的整批数据。"
2194
2274
  },
2195
2275
  dameng: {
2196
2276
  dsn: "odbc.ini 中配置的 ODBC 数据源名称。设置后将忽略服务器地址、端口、驱动和字符集;用户名和密码留空时使用 DSN 中的凭据。",
@@ -2224,6 +2304,28 @@ HGETALL mqtt_acl:\${username}`
2224
2304
  record: "发送到 Zerobus 的记录格式。REST 传输仅支持 JSON;Protobuf 需要在 Schema Registry 中注册对应的 Schema。",
2225
2305
  schema_name: "EMQX Schema Registry 中的 Protobuf Schema 名称。",
2226
2306
  message_type: "编码数据时使用的 Protobuf 消息类型。"
2307
+ },
2308
+ nats: {
2309
+ servers: "以逗号分隔的 NATS 故障转移服务器列表,格式为 <code>host[:port]</code>,默认端口为 <code>4222</code>。连接按顺序尝试各服务器,此列表不用于分摊消息发布负载。",
2310
+ pool_size: "连接池中的 NATS 连接数。所有连接共用服务器列表、认证和 TLS 配置。增大连接池不会将连接均匀分配到各服务器。",
2311
+ connect_timeout: "建立连接所允许的最长时间,包括 NATS 协议握手和认证。",
2312
+ authentication: "无需认证时使用 <code>none</code>,或选择 <code>user_password</code>、<code>token</code>、<code>nkey</code>、<code>jwt</code>。",
2313
+ mechanism: "连接 NATS 服务器使用的认证机制。",
2314
+ username: "NATS 服务器中配置的用户名,用于 <code>user_password</code> 认证。",
2315
+ password: "NATS 服务器中配置的密码,用于 <code>user_password</code> 认证,以秘密值存储。",
2316
+ token: "NATS 服务器中配置的认证 Token,以秘密值存储。",
2317
+ nkey_seed: "用于签署服务器 nonce 的完整用户 NKey 种子,不能填写公钥。以秘密值存储。",
2318
+ credentials_file_content: "NATS <code>.creds</code> 文件的完整内容,包括用户 JWT 和 NKey 种子。请填写文件内容,而非文件路径。以秘密值存储。",
2319
+ tls_handshake: "仅在启用 TLS 时生效。<code>starttls</code>(默认)先通过 TCP 接收 NATS <code>INFO</code> 帧,再升级到 TLS。<code>first</code> 在交换 NATS 协议数据之前进行 TLS 握手,要求服务器配置为 TLS-first。",
2320
+ ssl: "NATS 连接的 TLS 配置,默认启用 TLS。连接不支持 TLS 的服务器时,请设置 <code>ssl.enable = false</code>。",
2321
+ subject: "消息发布的目标 NATS subject,支持 EMQX 模板,例如 <code>events.${.topic}</code>。渲染结果必须是合法的 NATS 发布 subject。",
2322
+ payload_template: "发布消息的内容模板,默认为 <code>${.payload}</code>。使用 <code>${.}</code> 可将完整规则输入序列化为消息内容。",
2323
+ headers: "NATS 消息头键值模板列表,名称和值均支持 EMQX 模板。服务器未声明支持消息头时,携带消息头的发布操作会失败。",
2324
+ key: "用于渲染 NATS 消息头名称的模板。",
2325
+ value: "用于渲染 NATS 消息头值的模板。",
2326
+ delivery_mode: "<code>core</code>(默认)通过 Core NATS 发布,并通过 flush 屏障确认处理完成。<code>jetstream</code> 等待每条消息的 PubAck,且要求 <code>resource_opts.batch_size = 1</code>。",
2327
+ msg_id_template: "可选的 JetStream 消息 ID 模板,用于服务器端重复消息检测。留空时,EMQX 不发送 <code>Nats-Msg-Id</code>。在 Core 模式下不生效。",
2328
+ batch_size: "每个批次的最大消息数。Core 模式支持批量发布,JetStream 模式要求 <code>resource_opts.batch_size = 1</code>。"
2227
2329
  }
2228
2330
  }, l = {
2229
2331
  common: {
@@ -2303,6 +2405,10 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
2303
2405
  active_n: "Number of incoming TCP events EMQX processes in one active batch for each connection. A higher value may improve throughput on busy connections; a lower value may reduce per-connection latency. Default: <code>10</code>."
2304
2406
  },
2305
2407
  http: {
2408
+ active_health_check_timeout: "The Connector health check timeout must be finite when active HTTP health checks are enabled.",
2409
+ active_health_check_enable: "Send HTTP requests to check the endpoint. Only complete 2xx responses succeed; redirects are not followed. A failed check makes the Connector and its Actions unavailable. Uses the Connector TLS, OAuth2 and static headers. Uses resource_opts.health_check_interval and a finite resource_opts.health_check_timeout. Disabled by default.",
2410
+ active_health_check_method: "HTTP method for the health check. Supports GET and HEAD; defaults to GET. No request body is sent.",
2411
+ active_health_check_path: "Health check path relative to the server root, for example /health?full=1. Replaces the path in the Connector URL. Must start with / and contain no host, fragment or template variables. Required when enabled.",
2306
2412
  url: "The URL of the HTTP Connector.<br/>Template with variables is allowed in the path, but variables cannot be used in the host or port part.<br/>For example, `http://localhost:9901/${'{'}topic{'}'}` is allowed, but`http://${'{'}host{'}'}:9901/message` or `http://localhost:${'{'}port{'}'}/message`is not allowed.",
2307
2413
  body: "For example: ${'{'}payload{'}'}, ${'{'}clientid{'}'}, ${'{'}topic{'}'} , ${'{'}username{'}'}, etc. Use fields according to the action requirements of your business and forwards the message as it is if it is empty.",
2308
2414
  path: "The URL path for this Action.<br/>This path will be appended to the Connector's <code>url</code> configuration to form the full URL address.Template with variables is allowed in this option. For example, <code>/room/{'{'}$room_no{'}'}</code>",
@@ -2406,6 +2512,7 @@ Note: this parameter only takes effect when the <code>Driver Type</code> set to
2406
2512
  partitions_limit: "Limits the maximum number of partitions to which a producer can send messages."
2407
2513
  },
2408
2514
  kafka_producer: {
2515
+ kafka_client_id: "EMQX sends this identifier in Kafka protocol request headers. Kafka uses it together with the authenticated user identity for quotas and metrics. Leave it blank to let EMQX choose the identifier. The maximum length is 32,767 UTF-8 bytes.",
2409
2516
  bootstrap_hosts: "A comma separated list of Kafka <code>host[:port]</code> endpoints to bootstrap the client. Default port number is 9092.",
2410
2517
  authentication: "Authentication configs.",
2411
2518
  authentication_endpoint: "Endpoint where the AWS IAM Roles Anywhere credential process serves its API.",
@@ -2737,7 +2844,8 @@ Default: 1, i.e., the primary shard.`,
2737
2844
  - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
2738
2845
  - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
2739
2846
  - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
2740
- - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`
2847
+ - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`,
2848
+ field_types: "Specify field types when EMQX Tables automatically creates a table. Use field names from the write syntax as keys. The only supported type is <code>json2</code>. Missing fields are omitted. If present, a field value must be a JSON object or <code>null</code>. Objects may contain arrays. If a value cannot be encoded as JSON2, the batch for that table is not sent."
2741
2849
  },
2742
2850
  dameng: {
2743
2851
  dsn: "ODBC data source name in odbc.ini. When set, server, port, driver and charset are ignored. Leave username and password empty to use the DSN credentials.",
@@ -2771,6 +2879,28 @@ Default: 1, i.e., the primary shard.`,
2771
2879
  record: "Record format sent to Zerobus. REST transport supports JSON only. Protobuf requires a schema registered in Schema Registry.",
2772
2880
  schema_name: "Name of the Protobuf schema in EMQX Schema Registry.",
2773
2881
  message_type: "Protobuf message type used to encode the data."
2882
+ },
2883
+ nats: {
2884
+ servers: "Comma-separated failover list of NATS servers in <code>host[:port]</code> format. The default port is <code>4222</code>. Connections try the servers in order; this list does not distribute publishing load across servers.",
2885
+ pool_size: "Number of NATS connections in the pool. All connections share the same server list, authentication and TLS settings. Increasing the pool size does not distribute connections evenly across servers.",
2886
+ connect_timeout: "Maximum time allowed to establish a connection, including the NATS protocol handshake and authentication.",
2887
+ authentication: "Use <code>none</code> for no authentication, or select <code>user_password</code>, <code>token</code>, <code>nkey</code> or <code>jwt</code>.",
2888
+ mechanism: "Authentication mechanism used to connect to the NATS server.",
2889
+ username: "Username configured on the NATS server. Used with <code>user_password</code> authentication.",
2890
+ password: "Password configured on the NATS server. Used with <code>user_password</code> authentication. Stored as a secret.",
2891
+ token: "Authentication token configured on the NATS server. Stored as a secret.",
2892
+ nkey_seed: "Complete user NKey seed used to sign the server nonce, rather than the public key. Stored as a secret.",
2893
+ credentials_file_content: "Complete contents of a NATS <code>.creds</code> file, including the user JWT and NKey seed. Supply the file contents, not a file path. Stored as a secret.",
2894
+ tls_handshake: "Applies when TLS is enabled. <code>starttls</code> (default) receives the NATS <code>INFO</code> frame over TCP before upgrading to TLS. <code>first</code> starts TLS before exchanging NATS protocol data and requires a server configured for TLS-first.",
2895
+ ssl: "TLS settings for the NATS connection. TLS is enabled by default. Set <code>ssl.enable = false</code> when connecting to a server without TLS.",
2896
+ subject: "NATS subject to publish to. Supports EMQX templates, for example <code>events.${.topic}</code>. The rendered subject must be a valid NATS publish subject.",
2897
+ payload_template: "Template for the published payload. Defaults to <code>${.payload}</code>. Use <code>${.}</code> to serialize the complete rule input.",
2898
+ headers: "List of NATS header key/value templates. Both keys and values support EMQX templates. Publishing with headers fails if the server does not advertise header support.",
2899
+ key: "Template used to render the NATS header name.",
2900
+ value: "Template used to render the NATS header value.",
2901
+ delivery_mode: "<code>core</code> (default) publishes through Core NATS and confirms processing with a flush barrier. <code>jetstream</code> waits for a PubAck for each message and requires <code>resource_opts.batch_size = 1</code>.",
2902
+ msg_id_template: "Optional template for the JetStream message ID used for server-side duplicate detection. When empty, EMQX does not send <code>Nats-Msg-Id</code>. Has no effect in Core mode.",
2903
+ batch_size: "Maximum number of messages in a batch. Core mode supports batching. JetStream mode requires <code>resource_opts.batch_size = 1</code>."
2774
2904
  }
2775
2905
  }, d = {
2776
2906
  title: "Streaming (beta)",
@@ -3422,8 +3552,39 @@ Default: 1, i.e., the primary shard.`,
3422
3552
  incorrectInputOutputConnection: "请确认所有 Source 节点均正确连接到同一数据处理节点",
3423
3553
  incorrectOutputNodeConnection: "请确认所有 Sink 节点均由同一数据处理节点输出",
3424
3554
  incorrectDefaultNodeConnection: "请确认所有数据处理节点均按照顺序首尾相连",
3555
+ decisionQuestionsRequired: "请至少添加一个问题",
3556
+ decisionNameRequired: "请输入问题名称",
3557
+ decisionInstructionsRequired: "请为每个问题输入指令",
3558
+ decisionDuplicateNames: "问题名称不能重复",
3559
+ decisionChoicesRequired: "请至少添加一个选项",
3560
+ decisionChoiceValueRequired: "选项值必须是字符串或布尔值",
3561
+ decisionDuplicateChoices: "选项值不能重复",
3562
+ decisionLevelsRequired: "请至少添加一个评分等级",
3563
+ decisionLevelLabelRequired: "请输入每个评分等级的标签",
3564
+ decisionInvalidQuestionType: "请选择支持的问题类型",
3425
3565
  input: "输入",
3426
3566
  systemPromptDesc: "系统消息,用于引导 AI 模型生成符合预期的输出。例:将输入的 JSON 数据中,值为数字的 value 相加起来,并输出,只需返回输出结果。",
3567
+ decisionQuestions: "问题",
3568
+ decisionType: "类型",
3569
+ decisionInstructions: "指令",
3570
+ decisionPredicate: "判断(predicate)",
3571
+ decisionChoice: "选择(choice)",
3572
+ decisionScore: "评分(score)",
3573
+ decisionChoices: "选项",
3574
+ decisionLevels: "评分等级",
3575
+ decisionLabel: "标签",
3576
+ decisionDescription: "描述(可选)",
3577
+ decisionValue: "值",
3578
+ decisionString: "字符串",
3579
+ decisionBoolean: "布尔值",
3580
+ decisionRemove: "删除",
3581
+ decisionAddChoice: "添加选项",
3582
+ decisionAddLevel: "添加等级",
3583
+ decisionAddQuestion: "添加问题",
3584
+ decisionRemoveQuestion: "删除问题",
3585
+ decisionMoveUp: "上移",
3586
+ decisionMoveDown: "下移",
3587
+ decisionLevelsHint: "请按从低到高排列等级,评分使用从 0 开始的等级索引。",
3427
3588
  model: "模型",
3428
3589
  maxTokens: "最大令牌数",
3429
3590
  anthropicVersion: "Anthropic 版本",
@@ -3432,6 +3593,7 @@ Default: 1, i.e., the primary shard.`,
3432
3593
  geminiBaseUrlTips: "当前 Gemini 通过兼容 OpenAI 的接口来与之通信,请输入兼容 OpenAI 的基础 URL。",
3433
3594
  aiOutputAlias: "输出结果别名",
3434
3595
  aiOutputAliasDesc: "输出结果别名,用户在动作或后续处理中引用输出结果。",
3596
+ decisionOutputHint: "输出为包含 answers 数组的 JSON 字符串,可能包含概率、置信度和拒答。访问字段前需解码;请先处理失败时的空结果。",
3435
3597
  aliasDesc: "别名如包含除字母、数字和下划线以外的字符,或以数字开头,或为 SQL 关键字时,请为别名加上双引号。",
3436
3598
  connectTimeout: "连接超时",
3437
3599
  recvTimeout: "接收数据超时时间",
@@ -3474,8 +3636,39 @@ Default: 1, i.e., the primary shard.`,
3474
3636
  incorrectInputOutputConnection: "Please confirm that all source nodes are correctly connected to the same data processing node",
3475
3637
  incorrectOutputNodeConnection: "Please confirm that all sink nodes are output from the same data processing node",
3476
3638
  incorrectDefaultNodeConnection: "Please confirm that all data processing nodes are connected in sequence from start to end",
3639
+ decisionQuestionsRequired: "Add at least one question.",
3640
+ decisionNameRequired: "Enter a question name.",
3641
+ decisionInstructionsRequired: "Enter instructions for every question.",
3642
+ decisionDuplicateNames: "Question names must be unique.",
3643
+ decisionChoicesRequired: "Add at least one choice.",
3644
+ decisionChoiceValueRequired: "Choice values must be strings or booleans.",
3645
+ decisionDuplicateChoices: "Choice values must be unique.",
3646
+ decisionLevelsRequired: "Add at least one score level.",
3647
+ decisionLevelLabelRequired: "Enter a label for every score level.",
3648
+ decisionInvalidQuestionType: "Select a supported question type.",
3477
3649
  input: "Input",
3478
3650
  systemPromptDesc: "System message, used to guide AI models to generate outputs that meet expectations. Example: Add up the values of numeric keys in the input JSON data and output the result, only return the output result.",
3651
+ decisionQuestions: "Questions",
3652
+ decisionType: "Type",
3653
+ decisionInstructions: "Instructions",
3654
+ decisionPredicate: "Predicate",
3655
+ decisionChoice: "Choice",
3656
+ decisionScore: "Score",
3657
+ decisionChoices: "Choices",
3658
+ decisionLevels: "Score levels",
3659
+ decisionLabel: "Label",
3660
+ decisionDescription: "Description (optional)",
3661
+ decisionValue: "Value",
3662
+ decisionString: "String",
3663
+ decisionBoolean: "Boolean",
3664
+ decisionRemove: "Remove",
3665
+ decisionAddChoice: "Add choice",
3666
+ decisionAddLevel: "Add level",
3667
+ decisionAddQuestion: "Add question",
3668
+ decisionRemoveQuestion: "Remove question",
3669
+ decisionMoveUp: "Move up",
3670
+ decisionMoveDown: "Move down",
3671
+ decisionLevelsHint: "Order levels from lowest to highest. Scores use zero-based level indices.",
3479
3672
  model: "Model",
3480
3673
  maxTokens: "Max Tokens",
3481
3674
  anthropicVersion: "Anthropic Version",
@@ -3484,6 +3677,7 @@ Default: 1, i.e., the primary shard.`,
3484
3677
  geminiBaseUrlTips: "This Gemini connection uses an OpenAI-compatible API. Please enter a compatible Base URL.",
3485
3678
  aiOutputAlias: "Output Result Alias",
3486
3679
  aiOutputAliasDesc: "Output result alias, used to reference output results in actions or subsequent processing.",
3680
+ decisionOutputHint: "Returns a JSON string with an answers array, including probabilities, confidence values, and possible refusals. Decode it to access fields; handle empty results before decoding.",
3487
3681
  aliasDesc: "If the alias contains characters other than letters, numbers, and underscores, or starts with a number, or is a SQL keyword, please add double quotes to the alias.",
3488
3682
  connectTimeout: "Connect Timeout",
3489
3683
  recvTimeout: "Receive Timeout",
@@ -3528,8 +3722,39 @@ Default: 1, i.e., the primary shard.`,
3528
3722
  incorrectInputOutputConnection: "すべてのソースノードが同じデータ処理ノードに正しく接続されていることを確認してください",
3529
3723
  incorrectOutputNodeConnection: "すべてのシンクノードが同じデータ処理ノードから出力されていることを確認してください",
3530
3724
  incorrectDefaultNodeConnection: "すべてのデータ処理ノードが開始から終了まで順に接続されていることを確認してください",
3725
+ decisionQuestionsRequired: "質問を少なくとも 1 つ追加してください。",
3726
+ decisionNameRequired: "質問名を入力してください。",
3727
+ decisionInstructionsRequired: "すべての質問に指示を入力してください。",
3728
+ decisionDuplicateNames: "質問名は重複できません。",
3729
+ decisionChoicesRequired: "選択肢を少なくとも 1 つ追加してください。",
3730
+ decisionChoiceValueRequired: "選択肢の値は文字列または真偽値にしてください。",
3731
+ decisionDuplicateChoices: "選択肢の値は重複できません。",
3732
+ decisionLevelsRequired: "評価レベルを少なくとも 1 つ追加してください。",
3733
+ decisionLevelLabelRequired: "すべての評価レベルにラベルを入力してください。",
3734
+ decisionInvalidQuestionType: "対応する質問の種類を選択してください。",
3531
3735
  input: "入力",
3532
3736
  systemPromptDesc: "システムメッセージ。AI モデルに期待どおりの出力を生成させるために使用します。例:入力 JSON データの数値キーの値を合計し、その結果のみを返す。",
3737
+ decisionQuestions: "質問",
3738
+ decisionType: "種類",
3739
+ decisionInstructions: "指示",
3740
+ decisionPredicate: "判定",
3741
+ decisionChoice: "選択",
3742
+ decisionScore: "スコア",
3743
+ decisionChoices: "選択肢",
3744
+ decisionLevels: "評価レベル",
3745
+ decisionLabel: "ラベル",
3746
+ decisionDescription: "説明(任意)",
3747
+ decisionValue: "値",
3748
+ decisionString: "文字列",
3749
+ decisionBoolean: "真偽値",
3750
+ decisionRemove: "削除",
3751
+ decisionAddChoice: "選択肢を追加",
3752
+ decisionAddLevel: "レベルを追加",
3753
+ decisionAddQuestion: "質問を追加",
3754
+ decisionRemoveQuestion: "質問を削除",
3755
+ decisionMoveUp: "上へ移動",
3756
+ decisionMoveDown: "下へ移動",
3757
+ decisionLevelsHint: "レベルを低い順に並べてください。スコアには 0 から始まるレベルのインデックスを使用します。",
3533
3758
  model: "モデル",
3534
3759
  maxTokens: "最大トークン数",
3535
3760
  anthropicVersion: "Anthropic バージョン",
@@ -3539,6 +3764,7 @@ Default: 1, i.e., the primary shard.`,
3539
3764
  geminiBaseUrlTips: "This Gemini connection uses an OpenAI-compatible API. Please enter a compatible Base URL.",
3540
3765
  aiOutputAlias: "出力結果のエイリアス",
3541
3766
  aiOutputAliasDesc: "出力結果のエイリアス。アクションや後続処理で出力結果を参照するために使用します",
3767
+ decisionOutputHint: "出力は answers 配列を含む JSON 文字列で、確率、信頼度、拒否が含まれる場合があります。フィールドへのアクセス前にデコードしてください。失敗時の空の結果は、デコードする前に処理してください。",
3542
3768
  aliasDesc: "エイリアスに英数字とアンダースコア以外の文字が含まれる場合、数字で始まる場合、または SQL キーワードの場合は、エイリアスを二重引用符で囲んでください",
3543
3769
  // S - TODO: ja
3544
3770
  connectTimeout: "Connect Timeout",