Open Agent School · Public worked example

Prompt: meaning and example

Welcome! Take one idea with you today.

The instructions and other input supplied to a generative model to guide its response. Depending on the model, this can include text, examples, images or other data.

Picture it: Ask for a three-sentence summary and include the passage to summarize.

What is easy to mix up?

A prompt is input, not a program with guaranteed execution or factual correctness.

Teaching example by Open Agent School. Source: OpenAI - Key concepts: text generation, embeddings and tokens.