diff --git a/chatterbot/adapters/logic/no_logic.py b/chatterbot/adapters/logic/no_logic.py deleted file mode 100644 index 616a9b8b3..000000000 --- a/chatterbot/adapters/logic/no_logic.py +++ /dev/null @@ -1,21 +0,0 @@ -from chatterbot.adapters.logic import LogicAdapter -from chatterbot.conversation import Statement - - -class NoLogic(LogicAdapter): - - def can_process(self, statement): - """ - Determines if this adapter can respond to the input. - """ - return True - - def process(self, statement): - import random - - # Get all statements that are in response to the closest match - response_list = self.context.storage.filter( - in_response_to__contains=statement.text - ) - - return 1, random.choice(response_list)