Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfokina authored and vblagoje committed Aug 2, 2023
1 parent 32d06e6 commit 2c46028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pydoc/config/ranker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
loaders:
- type: python
search_path: [../../../haystack/nodes/ranker]
modules: ["base", "sentence_transformers", "recentness_ranker", "diversity"]
modules: ["base", "sentence_transformers", "recentness_ranker", "diversity", "lost_in_the_middle"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
Expand Down
2 changes: 1 addition & 1 deletion haystack/nodes/ranker/lost_in_the_middle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LostInTheMiddleRanker(BaseRanker):
The LostInTheMiddleRanker implements a ranker that reorders documents based on the lost in the middle order.
"Lost in the Middle: How Language Models Use Long Contexts" by Liu et al. aims to layout paragraphs into LLM
context so that relevant paragraphs are at the beginning or end of the input context, while the least relevant
information should be in the middle of a context.
information is in the middle of the context.
See https://arxiv.org/abs/2307.03172 for more details.
"""
Expand Down

0 comments on commit 2c46028

Please sign in to comment.