def METHOD_NAME(self, domains, intent):
    for domain in domains:
        data_folder = get_processed_multidogo_folder(
            self.dpath, domain, self.fold, intent
        )
        for filename in os.listdir(data_folder):
            if filename.endswith(".json"):
                with open(data_folder + "/" + filename) as f:
                    data = json.load(f)
                    for conv_id, value in data.items():
                        yield conv_id, domain, value