Skip to content

Commit

Permalink
Update long_context_reorder.py (langchain-ai#12422)
Browse files Browse the repository at this point in the history
The function comment was confusing and inaccurate
  • Loading branch information
ennio1991 authored and xieqihui committed Nov 21, 2023
1 parent 49124ed commit 2b1a33b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def _litm_reordering(documents: List[Document]) -> List[Document]:
"""Los in the middle reorder: the most relevant will be at the
"""Lost in the middle reorder: the less relevant documents will be at the
middle of the list and more relevant elements at beginning / end.
See: https://arxiv.org/abs//2307.03172"""

Expand Down

0 comments on commit 2b1a33b

Please sign in to comment.