AIExplainer

What is an one-shot prompting?

A prompt that contains one example demonstrating how the large language model should respond.

A prompt that contains one example demonstrating how the large language model should respond. For example, the following prompt contains one example showing a large language model how it should answer a query.

Compare and contrast one-shot prompting with the following terms: - zero-shot prompting - few-shot prompting

Practitioners refer to one-shot prompting when building, training, or evaluating machine learning systems. It appears in research papers, product documentation, and technical discussions about AI capabilities and limitations.