AI

Large Language Model (LLM)

AI EngineerPrompt Engineering

A large language model (LLM) is a neural network trained on enormous amounts of text to predict what comes next in a sequence. That single skill — next-word prediction at massive scale — turns out to produce systems that can answer questions, write code, summarize documents, translate languages, and follow instructions. Models like Claude, GPT, Gemini, and Llama are all LLMs. Note the distinction: ChatGPT is a product built around a model; the LLM itself is the underlying engine you can call directly through an API.

For you as a developer, LLMs are a new kind of computing primitive. Instead of writing explicit logic for every case, you describe what you want in natural language and the model handles ambiguity, unstructured input, and tasks that were previously impractical to code — classification, extraction, generation, conversation. Every AI feature you will build in this course, from a simple summarizer to a multi-step agent, sits on top of an LLM.

In practice, you’ll interact with LLMs almost entirely through HTTP APIs: send a list of messages, get a completion back. You’ll pick a model, write a system prompt, pass user input, and handle the response in your app — often streaming it token by token. The rest of this module unpacks what’s happening inside that API call: tokens, weights, training, inference, and context.

Resources

0/5 completed