diff --git a/api/core/model_runtime/model_providers/nvidia/rerank/rerank.py b/api/core/model_runtime/model_providers/nvidia/rerank/rerank.py index f792dee2d5e65b..80c24b0555cd41 100644 --- a/api/core/model_runtime/model_providers/nvidia/rerank/rerank.py +++ b/api/core/model_runtime/model_providers/nvidia/rerank/rerank.py @@ -52,7 +52,6 @@ def _invoke(self, model: str, credentials: dict, payload = { "model": model, "query": {"text": query}, - "top_n": 1, "passages": [{"text": doc} for doc in docs], } session = requests.Session()