Least-to-Most Prompting: A Worked Example for Compositional Tasks

Least-to-Most decomposes a hard problem into easier sub-problems, solves them in order, and uses each result as input to the next. This tutorial walks through it end to end on a compositional reasoning task.