Explorar o código

fix: parameter rule (#8064)

crazywoola hai 7 meses
pai
achega
900fd82a92

+ 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: 6
+    max: 10
     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: 6
+    max: 10
     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: 6
+    max: 10
     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: 6
+    max: 10
     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: 6
+    max: 10
     help:
       zh_Hans: 从 k 个候选中随机选择一个(非等概率)。
       en_US: Randomly select one from k candidates (non-equal probability).