2 "Context Windows" Posts

How Large Language Models (LLMs) Know Things They Were Never Taught

Web search, RAG, and the illusion of current knowledge
What You'll Learn
  • Why an LLM can answer questions about events that happened after its training ended
  • How web search gives a model current information without changing its weights
  • How RAG retrieves relevant information from private or specialized document collections
  • Why retrieved information is read during inference rather than learned by the model
  • How tool use lets an LLM work with search engines, code, databases, and external APIs
  • Why retrieval quality, source accuracy, and model reasoning all affect the final answer

How Large Language Models (LLMs) Handle Context Windows: The Memory That Isn't Memory

Exploring why longer context doesn't mean better memory and what happens when conversations grow
What You'll Learn
  • Why an LLM’s context window is not the same thing as memory
  • How chat applications create continuity even though the underlying model is stateless
  • How attention lets earlier parts of a conversation influence the next token
  • Why longer conversations become increasingly expensive for a transformer to process
  • Why information can become harder to use even while it remains inside the context window
  • How truncation, summarization, retrieval, and KV caching help manage long conversations