# Technical Document Extraction: AI Planning and Voting Workflow
This image illustrates a multi-stage natural language generation process involving input constraints, plan generation, and a voting mechanism to select the best output.
## 1. Component Isolation
The diagram is organized into three primary horizontal sections labeled (a), (b), and (c), with a corresponding flow diagram on the left.
### Section (a): Input
* **Label:** (a) Input
* **Text Content:** "Write a coherent passage of 4 short paragraphs. The end sentence of each paragraph must be: **1.** It isn't difficult to do a handstand if you just stand on your hands. **2.** It caught him off guard that space smelled of seared steak. **3.** When she didn't like a guy who was trying to pick her up, she started using sign language. **4.** Each person who knows you has a different perception of who you are."
### Section (b): Plans
This section displays the generation of multiple structural plans based on the input.
| Plan | Content | Status |
| :--- | :--- | :--- |
| **Plan 1** | 1. Introduce and explain the technique of doing a handstand 2. Switch to a story about an astronaut's first time in space 3. Describe a situation where a woman uses sign language to avoid unwanted attention 4. The final paragraph explains how everyone has different perceptions of others | 0/5 votes (Red label) |
| **Plan 2** | 1. Introduction to an unusual self-help book, mentioning a handstand as a metaphor for embracing challenges. 2. Discuss the unexpected things learned from astronauts, including the smell of space. 3. Describe a woman's clever tactic for avoiding unwanted attention at a bar. 4. Contemplate how different perceptions of oneself can shape one's identity. | 3/5 votes (Green label) |
| **Plan 3-5** | 1.... 2.... ... (Placeholder text) | n/5 votes (Red label) |
* **Visual Indicator:** A green upward arrow points to Plan 2, indicating it is the selected choice.
### Section (c): Votes
This section represents the evaluation phase where multiple "voters" analyze the plans.
* **Label:** (c) Votes
* **Text Content:** "Analyzing each choice in detail: Choice 1, while incorporating the required end sentences, seems to lack a clear connection between the paragraphs {...} Choice 2 offers an interesting perspective by using the required end sentences to present a self-help book's content. It connects the paragraphs with the theme of self-improvement and embracing challenges, making for a coherent passage. {...} **The best choice is 2.**"
* **Visual Note:** The text "The best choice is 2." is highlighted in green bold text.
---
## 2. Flow Diagram Analysis (Left Side)
The left side of the image contains a hierarchical tree diagram representing the logic flow:
1. **Top Level:** A dashed box labeled **"Input"**.
2. **Middle Level (Plans):** Three arrows point from "Input" to a row of plan labels:
* **Plan 1**
* **Plan 2** (Highlighted in a green box)
* **......** (Ellipses indicating additional plans)
3. **Bottom Level (Passages):** Three arrows point from the "Plans" level to the final outputs:
* **Passage 1**
* **Passage 2**
* **......** (Ellipses indicating additional passages)
4. **Transition:** A grey arrow points from the "Input/Plans" dashed box toward the detailed text descriptions on the right.
---
## 3. Summary of Data and Logic
* **Task:** Constrained text generation requiring specific terminal sentences for four paragraphs.
* **Mechanism:** The system generates multiple "Plans" (high-level outlines) to bridge the disparate required sentences.
* **Evaluation:** A voting system (represented by 5 total votes) evaluates the coherence of the plans.
* **Outcome:** **Plan 2** is identified as the superior choice because it provides a thematic "self-help book" framework that logically connects the four unrelated sentences, whereas Plan 1 is criticized for lacking a clear connection between paragraphs.