Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TuanaCelik committed Aug 15, 2024
1 parent 3a17e08 commit 7c72a33
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions content/release-notes/2.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ New [`AnswerJoiner`](https://docs.haystack.deepset.ai/v2.4/docs/answerjoiner) co

### ⬆️ Upgrade Notes

- The `ontextRelevanceEvaluator` now returns a list of relevant sentences for each context, instead of all the sentences in a context. Also, a score of 1 is now returned if a relevant sentence is found, and 0 otherwise.
- Removed the deprecated `DynamicPromptBuilder` and `DynamicChatPromptBuilder` components. Use `PromptBuilder` and `hatPromptBuilder` instead.
- `OutputAdapter` and `onditionalRouter` can't return users inputs anymore.
- The `ContextRelevanceEvaluator` now returns a list of relevant sentences for each context, instead of all the sentences in a context. Also, a score of 1 is now returned if a relevant sentence is found, and 0 otherwise.
- Removed the deprecated `DynamicPromptBuilder` and `DynamicChatPromptBuilder` components. Use `PromptBuilder` and `ChatPromptBuilder` instead.
- `OutputAdapter` and `ConditionalRouter` can't return users inputs anymore.
- `Multiplexer` is removed and users should switch to `BranchJoiner` instead.
- Removed deprecated init parameters `extractor_type` and `try_others` from `HTMLToDocument`.
- `SentenceWindowRetrieval` component has been renamed to `SenetenceWindowRetriever`.
- The `serialize_callback_handler` and `deserialize_callback_handler` utility functions have been removed. Use `serialize_callable` and `deserialize_callable` instead. For more information on `serialize_callable` and `deserialize_callable`, see the API reference: <https://docs.haystack.deepset.ai/reference/utils-api#module-callable_serialization>

### 🚀 New Features

- LLM based evaluators can pass in supported OpenAIGenerator parameters via api_params. This allows for custom generation_kwargs, changing the api_base_url (for local evaluation), and all other supported parameters as described in the OpenAIGenerator docs.
- Introduced a new AnswerJoiner component that allows joining multiple lists of Answers into a single list using the Concatenate join mode.
- LLM based evaluators can pass in supported `OpenAIGenerator` parameters via `api_params`. This allows for custom generation_kwargs, changing the api_base_url (for local evaluation), and all other supported parameters as described in the OpenAIGenerator docs.
- Introduced a new `AnswerJoiner` component that allows joining multiple lists of Answers into a single list using the Concatenate join mode.
- Add `truncate_dim` parameter to Sentence Transformers Embedders, which allows truncating embeddings. Especially useful for models trained with Matryoshka Representation Learning.
- Add `precision` parameter to Sentence Transformers Embedders, which allows quantized embeddings. Especially useful for reducing the size of the embeddings of a corpus for semantic search, among other tasks.

Expand Down Expand Up @@ -70,9 +70,9 @@ New [`AnswerJoiner`](https://docs.haystack.deepset.ai/v2.4/docs/answerjoiner) co

### 🐛 Bug Fixes

- Fix ChatPromptBuilder from_dict method when template value is None.
- Fix the DocumentCleaner removing the `f` tag from content preventing from counting page number (by Splitter for example).
- The DocumentSplitter was incorrectly calculating the `split_start_idx` and `\_split_overlap` information due to slight miscalculations of appropriate indices. This fixes those so the `split_start_idx` and `\_split_overlap` information is correct.
- Fix `ChatPromptBuilder` from_dict method when template value is None.
- Fix the `DocumentCleaner` removing the `f` tag from content preventing from counting page number (by Splitter for example).
- The DocumentSplitter was incorrectly calculating the `split_start_idx` and `split_overlap` information due to slight miscalculations of appropriate indices. This fixes those so the `split_start_idx` and `split_overlap` information is correct.
- Fix bug in Pipeline.run() executing Components in a wrong and unexpected order
- Encoding of HTML files in LinkContentFetcher
- Fix Output Adapter from_dict method when custom_filters value is None.
Expand Down

0 comments on commit 7c72a33

Please sign in to comment.