AI engineering glossary · Prompt context engineering
What is analogical prompting?
Analogical prompting: A method where the model is told to recall or invent similar solved problems, write them out with solutions, and then use them to solve the new one. It removes the need for hand-written examples.
Analogical prompting: an example
For a geometry question, the model first writes two related area problems with solutions, then solves the target problem.
Related terms
More Prompt context engineering terms
- Assistant prefill
- Automatic prompt engineer
- Batch API
- Chain-of-thought faithfulness
- Chain-of-thought prompting
- Chain-of-Verification
- Chat completions API
- Complexity-based prompting
Where you learn it
Analogical prompting is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.