From d963ae74d1de497bd8395ca7bb3c8bd83d8d614d Mon Sep 17 00:00:00 2001 From: vaughanlove Date: Wed, 15 Nov 2023 14:10:10 -0500 Subject: [PATCH] rerank bug --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 7700830..04bb0ff 100644 --- a/app/main.py +++ b/app/main.py @@ -165,7 +165,7 @@ def generate_paragraphs(requirements: List[str], resume_documents: List[str], to # reverse it, because LLMs have a recency bias rerank_hits.reverse() # rerank_hits.reverse() - input_credentials = ("\n - ").join(responses) + input_credentials = ("\n - ").join(rerank_hits) para_one_prompt = f""" Summarize the credentials below into paragraph form: