From f8646e1186f1ffa8f59ef628a15e2a21fc96c7c3 Mon Sep 17 00:00:00 2001 From: Daria Fokina Date: Thu, 30 May 2024 17:35:20 +0200 Subject: [PATCH] update version when the components are to be removed (#7773) --- haystack/components/builders/dynamic_chat_prompt_builder.py | 2 +- haystack/components/builders/dynamic_prompt_builder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haystack/components/builders/dynamic_chat_prompt_builder.py b/haystack/components/builders/dynamic_chat_prompt_builder.py index a6cd2413b..feabfd98a 100644 --- a/haystack/components/builders/dynamic_chat_prompt_builder.py +++ b/haystack/components/builders/dynamic_chat_prompt_builder.py @@ -86,7 +86,7 @@ class DynamicChatPromptBuilder: template placeholders of a ChatMessage that is provided to the `run` method. """ warnings.warn( - "`DynamicChatPromptBuilder` is deprecated and will be removed in Haystack 2.3.0." + "`DynamicChatPromptBuilder` is deprecated and will be removed in Haystack 2.4.0." "Use `ChatPromptBuilder` instead.", DeprecationWarning, ) diff --git a/haystack/components/builders/dynamic_prompt_builder.py b/haystack/components/builders/dynamic_prompt_builder.py index 3e2399e79..a01b8d17d 100644 --- a/haystack/components/builders/dynamic_prompt_builder.py +++ b/haystack/components/builders/dynamic_prompt_builder.py @@ -86,7 +86,7 @@ class DynamicPromptBuilder: template placeholders of a prompt text template that is provided to the `run` method. """ warnings.warn( - "`DynamicPromptBuilder` is deprecated and will be removed in Haystack 2.3.0." + "`DynamicPromptBuilder` is deprecated and will be removed in Haystack 2.4.0." "Use `PromptBuilder` instead.", DeprecationWarning, )