Start for Free Book a Demo Contact
Platform Login
AI Glossary

Few-Shot Prompting

Technique where you give the model a few examples in the prompt to guide it.

Definition

Few-shot prompting is a prompting technique where you provide a language model with a few examples in the prompt to guide it for a task. From these examples, the model learns the desired pattern and applies it to new inputs. Few-shot lies between zero-shot (no example) and fine-tuning (many examples with parameter adjustment).

Sources: a16z AI Glossary

← Back to AI Glossary