Explorar el Código

Revert "fix: parameter rule" (#8070)

AAEE86 hace 7 meses
padre
commit
0cef25ef8c

+ 1 - 1
api/core/model_runtime/model_providers/spark/llm/spark-1.5.yaml

@@ -26,7 +26,7 @@ parameter_rules:
     type: int
     default: 4
     min: 1
-    max: 10
+    max: 6
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).

+ 1 - 1
api/core/model_runtime/model_providers/spark/llm/spark-2.yaml

@@ -27,7 +27,7 @@ parameter_rules:
     type: int
     default: 4
     min: 1
-    max: 10
+    max: 6
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).

+ 1 - 1
api/core/model_runtime/model_providers/spark/llm/spark-3.5.yaml

@@ -26,7 +26,7 @@ parameter_rules:
     type: int
     default: 4
     min: 1
-    max: 10
+    max: 6
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).

+ 1 - 1
api/core/model_runtime/model_providers/spark/llm/spark-3.yaml

@@ -26,7 +26,7 @@ parameter_rules:
     type: int
     default: 4
     min: 1
-    max: 10
+    max: 6
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).

+ 1 - 1
api/core/model_runtime/model_providers/spark/llm/spark-4.yaml

@@ -26,7 +26,7 @@ parameter_rules:
     type: int
     default: 4
     min: 1
-    max: 10
+    max: 6
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).