if input_text in self.cache:
            cached_result = self.cache[input_text]
            self.cache = {}
            return cached_result