import json import os # Directory to store interactions and feedback DATA_DIR = "data" INTERACTIONS_FILE = os.path.join(DATA_DIR, "interactions.json") def view_interactions(): if os.path.exists(INTERACTIONS_FILE): with open(INTERACTIONS_FILE, "r") as file: interactions = json.load(file) for interaction in interactions: print(json.dumps(interaction, indent=4)) else: print("No interactions found.") if __name__ == "__main__": view_interactions()