How does LLM Context Window & Memory work
Short answer
Everything within the context window, including the user's messages and the model's own previous replies, is used together to decide what to generate next.
Advertisement
AModel answer
Everything within the context window, including the user's messages and the model's own previous replies, is used together to decide what to generate next.
Real-world example
A long document summary task may fail if the document is longer than the model's context window, since older parts of the text would be dropped.
Likely follow-ups
- What is Large Language Models (LLMs), How is LLM Context Window & Memory evaluated in practice, What tools are commonly used for LLM Context Window & Memory
Related topics