audio(interruptions): deprecate MinWordsInterruptionStrategy
This commit is contained in:
@@ -17,6 +17,13 @@ class MinWordsInterruptionStrategy(BaseInterruptionStrategy):
|
|||||||
This is an interruption strategy based on a minimum number of words said
|
This is an interruption strategy based on a minimum number of words said
|
||||||
by the user. That is, the strategy will be true if the user has said at
|
by the user. That is, the strategy will be true if the user has said at
|
||||||
least that amount of words.
|
least that amount of words.
|
||||||
|
|
||||||
|
.. deprecated:: 0.0.99
|
||||||
|
|
||||||
|
This class is deprecated, use
|
||||||
|
`pipecat.turns.user.MinWordsUserTurnStartStrategy` with `PipelineTask`'s
|
||||||
|
new `turn_start_strategies` parameter instead.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *, min_words: int):
|
def __init__(self, *, min_words: int):
|
||||||
|
|||||||
Reference in New Issue
Block a user