From 38dd0211935d536f7eeffcb9bd4316363bcb93a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tuana=20=C3=87elik?= <tuana.celik@deepset.ai>
Date: Thu, 5 Sep 2024 11:08:40 +0100
Subject: [PATCH] Update 2.5.0.md

---
 content/release-notes/2.5.0.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/release-notes/2.5.0.md b/content/release-notes/2.5.0.md
index 5bf87aa6..3bc1abe9 100644
--- a/content/release-notes/2.5.0.md
+++ b/content/release-notes/2.5.0.md
@@ -24,7 +24,7 @@ link: https://github.com/deepset-ai/haystack/releases/tag/v2.5.0
 - The parameter, `min_top_k`, has been added to the `TopPSampler`. This parameter sets the minimum number of documents to be returned when the top-p sampling algorithm selects fewer documents than desired. Documents with the next highest scores are added to meet the minimum. This is useful when guaranteeing a set number of documents to pass through while still allowing the Top-P algorithm to determine if more documents should be sent based on scores.
 - Introduced a utility function to deserialize a generic Document Store from the `init_parameters` of a serialized component.
 - Refactor `deserialize_document_store_in_init_parameters` to clarify that the function operates in place and does not return a value.
-- The `SentenceWindowRetriever` has now an extra output key containing all the documents belonging to the context window.
+- The `SentenceWindowRetriever` now returns `context_documents` as well as the `context_windows` for each `Document` in  `retrieved_documents` . This allows you to get a list of Documents from within the context window for each retrieved document.
 
 ### ⚠️ Deprecation Notes