From 0cef25ef8c3892e50fb47395a16b8096e7685511 Mon Sep 17 00:00:00 2001 From: AAEE86 <33052466+AAEE86@users.noreply.github.com> Date: Sat, 7 Sep 2024 10:44:56 +0800 Subject: [PATCH] Revert "fix: parameter rule" (#8070) --- api/core/model_runtime/model_providers/spark/llm/spark-1.5.yaml | 2 +- api/core/model_runtime/model_providers/spark/llm/spark-2.yaml | 2 +- api/core/model_runtime/model_providers/spark/llm/spark-3.5.yaml | 2 +- api/core/model_runtime/model_providers/spark/llm/spark-3.yaml | 2 +- api/core/model_runtime/model_providers/spark/llm/spark-4.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/core/model_runtime/model_providers/spark/llm/spark-1.5.yaml b/api/core/model_runtime/model_providers/spark/llm/spark-1.5.yaml index 9927a16c5ad7a8..41b8765fe6c4f1 100644 --- a/api/core/model_runtime/model_providers/spark/llm/spark-1.5.yaml +++ b/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). diff --git a/api/core/model_runtime/model_providers/spark/llm/spark-2.yaml b/api/core/model_runtime/model_providers/spark/llm/spark-2.yaml index 8c6d13d8dac57e..2db6805a2e2af0 100644 --- a/api/core/model_runtime/model_providers/spark/llm/spark-2.yaml +++ b/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). diff --git a/api/core/model_runtime/model_providers/spark/llm/spark-3.5.yaml b/api/core/model_runtime/model_providers/spark/llm/spark-3.5.yaml index 5b48c5afc61a11..6d24932ea83076 100644 --- a/api/core/model_runtime/model_providers/spark/llm/spark-3.5.yaml +++ b/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). diff --git a/api/core/model_runtime/model_providers/spark/llm/spark-3.yaml b/api/core/model_runtime/model_providers/spark/llm/spark-3.yaml index 807b97829d46aa..2ef9e10f453f6b 100644 --- a/api/core/model_runtime/model_providers/spark/llm/spark-3.yaml +++ b/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). diff --git a/api/core/model_runtime/model_providers/spark/llm/spark-4.yaml b/api/core/model_runtime/model_providers/spark/llm/spark-4.yaml index 79326287e4ccca..4b0bf27029ff76 100644 --- a/api/core/model_runtime/model_providers/spark/llm/spark-4.yaml +++ b/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).