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, )