Short Answer

Create a Recursive, Context-Carrying Decomposition Plan for LLM-Assisted KPI Narrative Generation

You are building an internal LLM workflow that produces a board-ready narrative explaining why a key KPI moved this quarter, using three inputs: (1) a table of KPI values by week, (2) a list of major product/ops events with dates, and (3) a short set of analyst notes that may be incomplete or partially wrong. The narrative must cite which input(s) support each claim and must avoid contradictions across sections.

Create a decomposition-based workflow that the LLM (and/or tools) will follow. Your design must include:

  1. An initial set of sub-problems (as explicit questions) that are solved sequentially.
  2. For each sub-problem, specify what context is passed in (including how you will carry forward prior Q/A pairs) and what the expected output format is.
  3. At least one point where the workflow can recursively decompose a sub-problem if the model cannot confidently answer (e.g., conflicting evidence, missing dates, ambiguous causality). Describe the trigger condition and the recursive sub-questions.
  4. A final synthesis step that combines the accumulated Q/A pairs into the narrative while enforcing consistency and traceability.

Keep your answer concrete: provide 5–8 sub-problem questions, show an example of the context bundle for sub-problem #3 (what exactly is included), and describe the recursive branch in enough detail that an engineer could implement it.

0

1

Updated 2026-02-06

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related