Principle:666ghj BettaFish Report Structure Generation
| Knowledge Sources | |
|---|---|
| Domains | NLP, Report_Generation, LLM_Prompting |
| Last Updated | 2026-10-08 00:00 GMT |
Overview
Technique that uses an LLM to decompose a research query into a structured multi-section outline, enabling parallel and independent research per section.
Description
Report Structure Generation addresses the problem of organizing open-ended research into a coherent document. Rather than searching broadly and hoping the results form a logical narrative, the LLM first generates an outline with titled sections, each describing what content should be covered. This outline serves as a research plan: each section becomes an independent research unit that can be searched, summarized, and refined in isolation.
This approach solves the "unstructured blob" problem where LLM-generated research lacks logical flow and depth. By front-loading the structural planning, the system ensures coverage of all relevant aspects of the topic while enabling parallel per-section research.
Usage
Use this principle when building automated research or report generation systems that need to produce multi-section documents from a single query. It is especially valuable when the research involves iterative search-reflection loops, as each section can independently cycle through search and refinement.
Theoretical Basis
The outline generation follows a plan-then-execute decomposition:
Where is the query, is a section title, and is the content description.
Each section is then researched independently:
The final report is the assembly:
Pseudo-code Logic:
# Abstract pattern (NOT real implementation)
outline = llm.generate_structure(query) # [(title, description), ...]
sections = []
for title, description in outline:
section = research_loop(title, description, search_tools)
sections.append(section)
report = format(sections)
Related Pages
Implemented By
- Implementation:666ghj_BettaFish_ReportStructureNode_mutate_state
- Implementation:666ghj_BettaFish_ReportFormattingNode_run