AI engineering glossary · Prompt context engineering

What is self-ask?

Self-ask: A prompting pattern where the model states follow-up questions it needs to answer first ('Are follow-up questions needed here?'), answers them one by one, often with a search tool, and then composes the final answer to a multi-hop question.

Level: advancedTopic: Prompt context engineering

Self-ask: an example

For 'Who is older, the CEO of Infosys or of TCS?', it asks for each person's birth year before comparing.

Related terms

More Prompt context engineering terms

Where you learn it

Self-ask 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.