How we built a pipeline that preserves context across 100k+ token books using Python, FastAPI, and Claude's context window. The Problem: Books Don't Fit in a Prompt When we started building LectuLibre, our AI-powered book translation service, we assumed we could just send an entire book to a large language model and get a translation back. After all, Claude 3.5 Sonnet advertises a 200k token context window. But a typical novel is 80,000–120,000 words, which is roughly 100,000–15...