Skip to content

Commit

Permalink
nvidia rerank missed top n
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Sep 10, 2024
1 parent 72df152 commit 5809d96
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5809d96

Please sign in to comment.