Prompting an LLM for the First Sub-Problem in a Sequence
In a sequential problem-solving approach, the process begins by prompting a Large Language Model with the first sub-problem. This initial step is unique as it lacks any previously generated question-answer pairs to serve as context. The LLM is sent the first sub-problem to generate the initial piece of information needed for subsequent steps.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Synthesizing Sub-Problem Answers for a Final Solution
Formula for Sequential Sub-Problem Solving
Prompting an LLM for the First Sub-Problem in a Sequence
Example of Constructing a Contextual Prompt for a Subsequent Sub-Problem
An AI assistant is tasked with planning a multi-day hiking trip. The task is broken down into a sequence of three steps. To solve the third and final step, 'Create a detailed meal plan,' two different approaches for providing the model with information are proposed.
- Approach X: The model is given the original task, the first question ('What is the weather forecast?') and its answer, the second question ('What gear is needed?') and its answer, and the final question ('Create a detailed meal plan.').
- Approach Y: The model is given only the second question ('What gear is needed?') and its answer, along with the final question ('Create a detailed meal plan.').
Which approach is more likely to produce a high-quality, contextually appropriate final answer, and why?
Constructing a Contextual Prompt for a Subsequent Sub-Problem
Synthesizing Sub-Problem Answers to Solve the Original Problem
An AI assistant is solving a complex problem by breaking it down into smaller, sequential questions. You need to construct the complete input that should be sent to the model to solve the third sub-problem. Arrange the following components in the correct logical order to create this input.
Diagnosing a Flawed AI Problem-Solving Process
You are building an internal LLM assistant to answ...
You are designing an internal LLM workflow to answ...
You’re building an internal LLM workflow to answer...
Create a Recursive, Context-Carrying Decomposition Plan for LLM-Assisted KPI Narrative Generation
Designing a Decomposition-Driven LLM Workflow for a High-Stakes Corporate Task
Evaluating and Redesigning a Decomposition Workflow Under Context and Cost Constraints
Debugging a Decomposition-Based LLM Workflow Using Recursive Sub-Problems and Contextual QA Pairs
Designing a Decomposition Workflow for Root-Cause Analysis of a Production Incident
Designing a Decomposition-and-QA-Pair Workflow for Contract Review with Recursive Escalation
Stabilizing a Decomposition-Based LLM Workflow for a Regulated Customer-Email Triage System
Learn After
A system is designed to solve a complex task by breaking it down into a sequence of sub-problems. For every sub-problem after the first, the language model is given the new sub-problem along with the complete history of all previously answered sub-problems and their corresponding answers. Based on this design, which approach correctly handles the submission of the very first sub-problem to the model?
Example of Prompting and Answering the First Sub-Problem in a Sequence
A developer is creating a system that breaks down a complex query into a series of smaller, sequential questions for a language model. The system is designed to provide the model with the full history of previous questions and answers to maintain context for each new question. However, the system consistently fails to get a correct answer for the very first question in the sequence. Which of the following is the most likely cause of this initial failure?
Analyzing a Sequential Prompting Process