📖 Step 9: AI/LLM#359 / 498

Context Rot

Context Rot

📖One-line summary

The drop in LLM output quality as the context grows longer and earlier information gets overlooked.

✨Example

🤖

컨텍스트 부패

Context Rot

⚡Vibe coding prompt examples

>_

As the conversation grows, the agent keeps forgetting the rules we set at the start. Design a task-splitting and rule re-injection strategy to reduce context rot.

>_

Our long-document Q&A misses content from the beginning. Write a simple eval script that measures accuracy by input length.

>_

We're stuffing too many documents into the RAG context. Add reranking and a chunk-count cap so only the essential chunks remain.

Try these prompts in your AI coding assistant!