GraphRAG / show_data.py
Sanjam19's picture
clean initial commit
a4ab72e
Raw
History Blame Contribute Delete
199 Bytes
# show_data.py
import json
c = json.load(open('data/chunks.json', encoding='utf-8'))
print(f"Chunks: {len(c)}")
print(f"Sample company: {c[0]['company']}")
print(f"Sample text: {c[0]['text'][:150]}")