We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3371d97 commit 64b5451Copy full SHA for 64b5451
src/api/routers/rerank.py
@@ -63,7 +63,7 @@ async def rerank_documents(
63
start = time.time()
64
if config.type == "rerank":
65
scores = model.rank_document(
66
- request.query, [doc for _, doc in valid_docs], request.top_k, **kwargs
+ request.query, request.documents, request.top_k, **kwargs
67
)
68
processing_time = time.time() - start
69
0 commit comments