A Large Language Model (LLM) is a deep learning model trained on huge text datasets. It learns language patterns and predicts the next token (word piece) to produce useful responses.
When you enter a prompt, the model breaks it into tokens, calculates probabilities for possible next tokens, picks one, appends it, and repeats this loop.
Prompt: "Write a polite reminder email for pending invoice."
Output: A complete email draft with greeting, context, request, and sign-off.