update version when the components are to be removed (#7773)

This commit is contained in:
Daria Fokina 2024-05-30 17:35:20 +02:00 committed by GitHub
parent 8d80ff86d9
commit f8646e1186
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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