---
title: Prompting
description: Words for shaping what a model does.
---

## Prompt engineering

Using words to shape the output of a machine.

---

## Coding

The syntax and typing of code.

---

## Programming

Solving a problem with code. The hard part, with or without AI.

---

<!--
aka: one-shot prompting
-->

## One-shot

In this class, a single self-contained prompt meant to produce the result in one turn — no follow-up chatting. In the broader ML sense, a prompt that includes one example of the task.

---

<!--
aka: zero-shot prompting
-->

## Zero-shot

Asking a model to do a task from instructions alone, with no examples.

---

<!--
aka: few-shot prompting
-->

## Few-shot

Asking a model to do a task by including a few examples in the prompt.

---

<!--
aka: chain-of-thought prompting
-->

## Chain-of-thought

A reasoning style where the model works through intermediate steps before answering, instead of jumping straight to a final answer.
