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.

Level: advancedTopic: Prompt context engineering

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

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.