What Happens Inside an LLM When You Type “Hello”?

You open ChatGPT, Claude, Gemini, or another AI assistant.You type: HelloYou hit Enter.A moment later, the AI responds: Hello! How can I help you today?It looks simple.But behind those few words, a surprisingly complex process has taken place. Your computer did not simply send the word “Hello” to a database and retrieve a pre-written answer. Instead, the text passed through several stages involving tokenization, embeddings, neural networks, attention, probabilities, and token generation.At the center of this process is the Transformer architecture, introduced in the 2017 research paper Attention Is All You Need. The paper proposed an architecture based on attention rather than recurrent or
…