Skip to content

Commit 64b5451

Browse files
committed
init
1 parent 3371d97 commit 64b5451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/routers/rerank.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def rerank_documents(
6363
start = time.time()
6464
if config.type == "rerank":
6565
scores = model.rank_document(
66-
request.query, [doc for _, doc in valid_docs], request.top_k, **kwargs
66+
request.query, request.documents, request.top_k, **kwargs
6767
)
6868
processing_time = time.time() - start
6969

0 commit comments

Comments
 (0)