mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 12:39:27 +08:00
Fix: remove unsupported get-rerank model (#17527)
This commit is contained in:
@@ -1700,12 +1700,6 @@
|
||||
],
|
||||
"is_tools": false
|
||||
},
|
||||
{
|
||||
"llm_name": "gte-rerank",
|
||||
"tags": "RE-RANK,4k",
|
||||
"max_tokens": 4000,
|
||||
"model_type": "rerank"
|
||||
},
|
||||
{
|
||||
"llm_name": "qwen3-asr-flash",
|
||||
"tags": "SPEECH2TEXT,8k",
|
||||
|
||||
@@ -518,7 +518,7 @@ class VoyageRerank(Base):
|
||||
class QWenRerank(Base):
|
||||
_FACTORY_NAME = "Tongyi-Qianwen"
|
||||
|
||||
def __init__(self, key, model_name="gte-rerank", **kwargs):
|
||||
def __init__(self, key, model_name="gte-rerank-v2", **kwargs):
|
||||
import dashscope
|
||||
|
||||
self.api_key = key
|
||||
|
||||
Reference in New Issue
Block a user