Home › Glossary › Generative AI › Direct prompting

Beginner · Generative AI

Direct prompting

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. Another term for zero-shot prompting, where a model answers a prompt without prior examples.

Technical Definition

Another term for zero-shot prompting, where a model answers a prompt without prior examples.

How it works

Direct prompting, also known as zero-shot prompting, involves asking a large language model to perform a task solely based on the instructions given in the prompt, without providing any examples of the task. The model relies entirely on its pre-existing knowledge to generate the desired output. This is a powerful way to test a model's general capabilities.

Related Concepts

  • Large Language Model (LLM) — A massive neural network trained on vast text corpora to understand and generate human language with remarkable fluency.
  • Prompt Engineering — The art of crafting effective input instructions to guide LLM behavior without changing model weights.
  • Generative AI — An AI field focused on creating models that can generate novel and complex content, such as text, images, audio, and video, that is coherent and original.

Further Reading

  • Google ML Glossary