From 7c72a337a4e0fb372650db79a72b00eeb12df4c5 Mon Sep 17 00:00:00 2001 From: Tuana Celik Date: Thu, 15 Aug 2024 12:47:02 +0200 Subject: [PATCH] typo fixes --- content/release-notes/2.4.0.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/release-notes/2.4.0.md b/content/release-notes/2.4.0.md index 7f7f5b18..022355fd 100644 --- a/content/release-notes/2.4.0.md +++ b/content/release-notes/2.4.0.md @@ -20,9 +20,9 @@ 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`. @@ -30,8 +30,8 @@ New [`AnswerJoiner`](https://docs.haystack.deepset.ai/v2.4/docs/answerjoiner) co ### 🚀 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. @@ -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.