Filters

Filters are an efficient way to create base queries that can be passed to ChatterBot’s storage adapters.

Setting filters

chatbot = ChatBot(
    "My ChatterBot",
    filters=["chatterbot.filters.RepetitiveResponseFilter"]
)

Filter classes

class chatterbot.filters.RepetitiveResponseFilter[source]

A filter that eliminates possibly repetitive responses to prevent a chat bot from repeating statements that it has recently said.