ResponseWordsTerminator
- words_dict (dict): Dictionary of words and its occurrence threshold.
- case_sensitive (bool): Whether count the words as case-sensitive. (default: :obj:
False
) - mode (TerminationMode): Whether terminate agent if any or all pre-set words reached the threshold. (default: :obj:
TerminationMode.ANY
)
init
_validate
is_terminated
- messages (list): List of :obj:
BaseMessage
from a response.