def process_input(self, *args, **kwargs):
        if not args:
            raise TypeError(
                "process_input expects at least one positional argument"
            )

        input_json = args[0]
        text = input_json["text"]
        del(input_json["text"])

        return Statement(text, **input_json)
Convert input json data into a statement object.
dataset/ETHPy150Open gunthercox/ChatterBot/chatterbot/adapters/io/io_json.py/JsonAdapter.process_input