Skip to content

Commit

Permalink
Update 2.5.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TuanaCelik authored Sep 5, 2024
1 parent bcc414a commit 38dd021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/release-notes/2.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 38dd021

Please sign in to comment.