-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathpython_decompose_result.json
More file actions
121 lines (121 loc) · 11.1 KB
/
python_decompose_result.json
File metadata and controls
121 lines (121 loc) · 11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"original_task_prompt": "Write a short blog post about the benefits of morning exercise.\nInclude a catchy title, an introduction paragraph, three main benefits\nwith explanations, and a conclusion that encourages readers to start\ntheir morning exercise routine.",
"subtask_list": [
"1. Create a catchy title for the blog post about the benefits of morning exercise. -",
"2. Write an introduction paragraph that sets the stage for the blog post. -",
"3. Identify and explain three main benefits of morning exercise with detailed explanations. -",
"4. Write a conclusion that encourages readers to start their morning exercise routine. -",
"5. Compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post. -"
],
"identified_constraints": [
{
"constraint": "Include a catchy title",
"validation_strategy": "llm"
},
{
"constraint": "Include an introduction paragraph",
"validation_strategy": "llm"
},
{
"constraint": "Include three main benefits with explanations",
"validation_strategy": "llm"
},
{
"constraint": "Include a conclusion that encourages readers to start their morning exercise routine",
"validation_strategy": "llm"
}
],
"subtasks": [
{
"subtask": "1. Create a catchy title for the blog post about the benefits of morning exercise. -",
"tag": "BLOG_TITLE",
"constraints": [
{
"constraint": "Include a catchy title",
"validation_strategy": "llm"
}
],
"prompt_template": "Your task is to create a catchy title for a blog post about the benefits of morning exercise. Follow these steps to accomplish your task:\n\n1. **Understand the Topic**: The blog post will focus on the benefits of morning exercise. The title should be engaging and clearly convey the main topic of the post.\n\n2. **Identify Key Elements**: Consider the key elements that make morning exercise beneficial. These could include improved mood, increased energy, better focus, and enhanced metabolism.\n\n3. **Use Power Words**: Incorporate power words that evoke curiosity, excitement, or a sense of urgency. Examples include \"Boost,\" \"Transform,\" \"Unlock,\" \"Energize,\" and \"Revitalize.\"\n\n4. **Keep It Concise**: The title should be short and to the point, ideally between 5 to 10 words. It should be easy to read and remember.\n\n5. **Make It Action-Oriented**: Use verbs that encourage action, such as \"Start,\" \"Jumpstart,\" \"Kickstart,\" or \"Ignite.\"\n\n6. **Consider SEO**: Think about common search terms related to morning exercise. Including relevant keywords can help improve the post's visibility.\n\n7. **Examples for Inspiration**:\n - \"Jumpstart Your Day: The Power of Morning Exercise\"\n - \"Energize Your Mornings: Unlock the Benefits of Morning Exercise\"\n - \"Transform Your Day with Morning Exercise\"\n - \"Boost Your Energy: The Magic of Morning Workouts\"\n - \"Revitalize Your Mornings: The Benefits of Morning Exercise\"\n\n8. **Create the Title**: Based on the above guidelines, create a catchy and engaging title for the blog post. Ensure it captures the essence of the topic and entices readers to click and read more.\n\nYour final answer should be only the title text.",
"input_vars_required": [],
"depends_on": []
},
{
"subtask": "2. Write an introduction paragraph that sets the stage for the blog post. -",
"tag": "INTRODUCTION",
"constraints": [
{
"constraint": "Include an introduction paragraph",
"validation_strategy": "llm"
}
],
"prompt_template": "Your task is to write an engaging introduction paragraph for a blog post about the benefits of morning exercise. The introduction should set the stage for the blog post, capturing the reader's attention and providing a brief overview of what will be discussed.\n\nTo accomplish this, follow these steps:\n\n1. **Understand the Context**:\n - The blog post is about the benefits of morning exercise.\n - The title of the blog post is: {{BLOG_TITLE}}\n\n2. **Craft the Introduction**:\n - Start with a hook that grabs the reader's attention. This could be a question, a surprising fact, or a relatable scenario.\n - Briefly introduce the topic of morning exercise and why it is important.\n - Provide a smooth transition to the main benefits that will be discussed in the blog post.\n\n3. **Ensure Engagement**:\n - Use a conversational and engaging tone to connect with the readers.\n - Keep the introduction concise and to the point, ideally between 3 to 5 sentences.\n\nHere is an example structure to guide your writing:\n- **Sentence 1**: Hook to grab the reader's attention.\n- **Sentence 2**: Introduce the topic of morning exercise.\n- **Sentence 3**: Briefly mention the benefits that will be discussed.\n- **Sentence 4**: Transition to the main content of the blog post.\n\nEnsure that the introduction flows naturally and sets the stage for the rest of the blog post. You should write only the introduction paragraph, do not include the guidance structure.",
"input_vars_required": [],
"depends_on": [
"BLOG_TITLE"
]
},
{
"subtask": "3. Identify and explain three main benefits of morning exercise with detailed explanations. -",
"tag": "BENEFITS",
"constraints": [
{
"constraint": "Include three main benefits with explanations",
"validation_strategy": "llm"
}
],
"prompt_template": "Your task is to identify and explain three main benefits of morning exercise with detailed explanations. Follow these steps to accomplish your task:\n\nFirst, review the title and introduction created in the previous steps to understand the context and tone of the blog post:\n<title>\n{{BLOG_TITLE}}\n</title>\n<introduction>\n{{INTRODUCTION}}\n</introduction>\n\nNext, research and identify three main benefits of morning exercise. These benefits should be supported by evidence or expert opinions to ensure credibility.\n\nFor each benefit, provide a detailed explanation that includes:\n- The specific benefit of morning exercise\n- How this benefit positively impacts health, well-being, or daily life\n- Any relevant studies, expert opinions, or personal anecdotes that support the benefit\n\nEnsure that the explanations are clear, concise, and engaging to keep the reader interested.\n\nFinally, present the three main benefits with their detailed explanations in a structured format that can be easily integrated into the blog post.",
"input_vars_required": [],
"depends_on": [
"BLOG_TITLE",
"INTRODUCTION"
]
},
{
"subtask": "4. Write a conclusion that encourages readers to start their morning exercise routine. -",
"tag": "CONCLUSION",
"constraints": [
{
"constraint": "Include a conclusion that encourages readers to start their morning exercise routine",
"validation_strategy": "llm"
}
],
"prompt_template": "Your task is to write a compelling conclusion for a blog post about the benefits of morning exercise. The conclusion should encourage readers to start their morning exercise routine. Follow these steps to accomplish your task:\n\nFirst, review the title and introduction of the blog post to understand the context and tone:\n<title>\n{{BLOG_TITLE}}\n</title>\n<introduction>\n{{INTRODUCTION}}\n</introduction>\n\nNext, consider the three main benefits of morning exercise that have been previously identified and explained:\n<benefits>\n{{BENEFITS}}\n</benefits>\n\nUse the information from the title, introduction, and benefits to craft a conclusion that:\n1. Summarizes the key points discussed in the blog post.\n2. Reinforces the importance of morning exercise.\n3. Encourages readers to take action and start their morning exercise routine.\n4. Maintains a positive and motivating tone.\n\nEnsure the conclusion is concise, engaging, and leaves readers feeling inspired to make a change in their daily routine.\n\nFinally, write the conclusion paragraph that encourages readers to start their morning exercise routine.",
"input_vars_required": [],
"depends_on": [
"BLOG_TITLE",
"INTRODUCTION",
"BENEFITS"
]
},
{
"subtask": "5. Compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post. -",
"tag": "FINAL_BLOG_POST",
"constraints": [
{
"constraint": "Include a catchy title",
"validation_strategy": "llm"
},
{
"constraint": "Include an introduction paragraph",
"validation_strategy": "llm"
},
{
"constraint": "Include three main benefits with explanations",
"validation_strategy": "llm"
},
{
"constraint": "Include a conclusion that encourages readers to start their morning exercise routine",
"validation_strategy": "llm"
}
],
"prompt_template": "Your task is to compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post about the benefits of morning exercise.\n\nTo accomplish this, follow these steps:\n\n1. **Review the Components**:\n Carefully review the title, introduction, three main benefits, and conclusion that have been generated in the previous steps. These components are provided below:\n\n <blog_title>\n {{BLOG_TITLE}}\n </blog_title>\n\n <introduction>\n {{INTRODUCTION}}\n </introduction>\n\n <benefits>\n {{BENEFITS}}\n </benefits>\n\n <conclusion>\n {{CONCLUSION}}\n </conclusion>\n\n2. **Structure the Blog Post**:\n Organize the components into a well-structured blog post. The structure should include:\n - The catchy title at the beginning.\n - The introduction paragraph that sets the stage for the blog post.\n - The three main benefits with detailed explanations.\n - The conclusion that encourages readers to start their morning exercise routine.\n\n3. **Ensure Cohesion**:\n Make sure the blog post flows smoothly from one section to the next. The transitions between the introduction, benefits, and conclusion should be natural and logical.\n\n4. **Check for Consistency**:\n Verify that the tone and style are consistent throughout the blog post. Ensure that the language used in the title, introduction, benefits, and conclusion aligns with the overall theme of the blog post.\n\n5. **Final Review**:\n Read through the entire blog post to ensure it is cohesive, well-organized, and free of any grammatical or spelling errors. Make any necessary adjustments to improve clarity and readability.\n\n6. **Output the Blog Post**:\n Provide the final compiled blog post as your answer. Ensure that the output includes only the blog post text without any additional information or instructions.\n\nBy following these steps, you will create a single cohesive blog post that effectively communicates the benefits of morning exercise.",
"input_vars_required": [],
"depends_on": [
"BLOG_TITLE",
"INTRODUCTION",
"BENEFITS",
"CONCLUSION"
]
}
]
}