mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-28 07:29:06 +00:00
Update sentence_window_retriever.py (#8332)
* Update sentence_window_retriever.py * Update haystack/components/retrievers/sentence_window_retriever.py Co-authored-by: Sebastian Husch Lee <sjrl@users.noreply.github.com> --------- Co-authored-by: David S. Batista <dsbatista@gmail.com> Co-authored-by: Sebastian Husch Lee <sjrl@users.noreply.github.com>
This commit is contained in:
parent
7cedf7e894
commit
675cf43be7
@ -157,7 +157,7 @@ class SentenceWindowRetriever:
|
||||
- `context_windows`: A list of strings, where each string represents the concatenated text from the
|
||||
context window of the corresponding document in `retrieved_documents`.
|
||||
- `context_documents`: A list of lists of `Document` objects, where each inner list contains the
|
||||
documents that form the context window for the corresponding document in
|
||||
documents that come from the context window for the corresponding document in
|
||||
`retrieved_documents`.
|
||||
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user