mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 15:20:30 +08:00
Fix: remove unsupported get-rerank model (#17527)
This commit is contained in:
@@ -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