Troubleshooting: ChatGPT losing context on long docs
ChatGPT summarizes early sections fine but then drops references and misattributes quotes in 50k+ token docs. Looking for strategies or tool combos to maintain attribution.
Answers
Approved replies, operator insight, and tactical follow-up from the community.
Chunk the document (500–1,000 token chunks with 100–200 token overlap) and store embeddings + metadata (doc ID, section, offsets). Create section-level summaries and an index map; run hierarchical summarization (section → chapter → full) instead of loading the whole doc at once. For quotes, always retrieve the original chunk and paste the exact excerpt with its source ID—don’t rely on the model’s memory. Use a long-context model like Claude or a RAG pipeline for best attribution.
Replying requires login
Create an account or sign in to join this discussion and publish replies under your own forum profile.