
What Is Prompting?
Prompting is how you tell a large language model what you want—and the first response you get is evidence to learn from, not a final verdict.
Read tutorialTurn intent into clear instructions with message roles, examples, templates, structured outputs, generation settings, and systematic prompt debugging.
Tutorials
Follow these lessons in order, or jump directly to the topic you need.

Prompting is how you tell a large language model what you want—and the first response you get is evidence to learn from, not a final verdict.
Read tutorial
A clearer request is the fastest way to get a better answer from an AI model. The model does not know your audience, your standards, or what "good" looks…
Read tutorial
You've asked an AI assistant the same question twice with slightly different wording and gotten two very different answers. One was exactly what you…
Read tutorial
Most beginners assume a prompt is just a question you type. Ask something, get an answer. That works, but it leaves a lot of quality on the table.
Read tutorial
You write a prompt. You press enter. The model replies with something generic, slightly off, or completely wrong. So you rewrite, try again, and get…
Read tutorial
Reading about prompting feels like it should be enough. You nod along with the advice: be specific, add context, show the model what you want. Then you run…
Read tutorial
You turned the temperature down to 0.1 because you wanted the AI to stop making mistakes. It still gave you a wrong answer—just a more confident, more…
Read tutorial
You ask an LLM for a list of three book recommendations. What comes back is a friendly paragraph: "If you're looking for something thought-provoking, you…
Read tutorial
You rewrite the prompt. You get a different answer. It's still bad. So you rewrite it again, add more words this time, maybe change the tone. Another…
Read tutorial
You type a question into a chat window, and the model answers. Simple enough. Then you open an API playground or peek at an app's developer docs, and…
Read tutorial
More examples do not automatically mean better results. Examples cost tokens, take time to write, and can even steer a model in the wrong direction. The…
Read tutorial
You know the feeling. You write a prompt that gets you exactly what you need—a clear product description, a tidy meeting summary, a well-structured draft.…
Read tutorial
You asked for a summary and got a rambling essay. You asked for a story and got three bullet points that stopped mid-thought. You asked a factual question…
Read tutorial
Your chat app seems to forget things. You mentioned a preference twenty messages ago, and now the assistant answers as if you never said it. It feels…
Read tutorial
Temperature does not add randomness to a model. It reshapes a probability distribution the model already produced — and once you see the arithmetic, you…
Read tutorial
A response that parses is not a response you can trust. Here is a small exercise that turns that sentence into a working habit.
Read tutorial
A chat assistant repeats a detail from ten turns ago, then forgets the order number you gave it two turns ago. Nothing about the model changed between…
Read tutorial
You added three examples to your prompt. The output looked better. You shipped it.
Read tutorial
The output looks wrong, and your hand is already on the temperature slider. Before you drag it, notice what you are actually doing: guessing. The same…
Read tutorial
The model returns clean JSON. Every brace closes. Every key is present. And the answer is still wrong.
Read tutorial
A reusable prompt template is an interface: fixed instructions plus a variable slot whose values you do not control. One clean input exercises the…
Read tutorial