From 5093337de19af0fad2c6c50a17b219b8da02301d Mon Sep 17 00:00:00 2001 From: shirochan Date: Fri, 6 Dec 2024 10:58:55 +0900 Subject: [PATCH] FEAT: cohere rerank 3.5 model added (#11289) --- .../model_providers/cohere/rerank/_position.yaml | 1 + .../model_providers/cohere/rerank/rerank-v3.5.yaml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 api/core/model_runtime/model_providers/cohere/rerank/rerank-v3.5.yaml diff --git a/api/core/model_runtime/model_providers/cohere/rerank/_position.yaml b/api/core/model_runtime/model_providers/cohere/rerank/_position.yaml index 4dd58fc1708b0a..2f6f80ab74ad2f 100644 --- a/api/core/model_runtime/model_providers/cohere/rerank/_position.yaml +++ b/api/core/model_runtime/model_providers/cohere/rerank/_position.yaml @@ -2,3 +2,4 @@ - rerank-english-v3.0 - rerank-multilingual-v2.0 - rerank-multilingual-v3.0 +- rerank-v3.5 diff --git a/api/core/model_runtime/model_providers/cohere/rerank/rerank-v3.5.yaml b/api/core/model_runtime/model_providers/cohere/rerank/rerank-v3.5.yaml new file mode 100644 index 00000000000000..5de71fb9892dce --- /dev/null +++ b/api/core/model_runtime/model_providers/cohere/rerank/rerank-v3.5.yaml @@ -0,0 +1,4 @@ +model: rerank-v3.5 +model_type: rerank +model_properties: + context_size: 5120