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:
Tuana Çelik 2024-09-10 19:42:28 +02:00 committed by GitHub
parent 7cedf7e894
commit 675cf43be7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.
"""