Example

Example of an Instructional Prompt in a Few-Shot Setting for Sub-Problem Decomposition

The following instruction is an example of the initial part of a few-shot prompt, specifically a 2-shot prompt, used for sub-problem generation in the least-to-most prompting method: 'Your task is to decompose a problem into several sub-problems. You will be given a few examples to illustrate how to achieve this.' This instruction sets the stage for the demonstrations (shots) that will follow, guiding the LLM on how to perform the decomposition task.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course

Related