import json import os parsed_json_path = 'parsed_sources.json' if not os.path.exists(parsed_json_path): # Try looking in pwd parsed_json_path = '/opt/ai-os/products/ceo/parsed_sources.json' if os.path.exists(parsed_json_path): with open(parsed_json_path, 'r', encoding='utf-8') as f: sources = json.load(f) print("Found JSON, elements:", len(sources)) for i, s in enumerate(sources): print(f"--- SOURCE {i+1}/46 ---") print(s['summary_en']) else: print("parsed_sources.json not found")