mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-05 19:47:45 +00:00
update version when the components are to be removed (#7773)
This commit is contained in:
parent
8d80ff86d9
commit
f8646e1186
@ -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,
|
||||
)
|
||||
|
||||
@ -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,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user