cjber commited on
Commit
4800b83
·
1 Parent(s): 093f5e0

simplify reduce prompt

Browse files
Files changed (1) hide show
  1. planning_ai/chains/prompts/reduce.txt +27 -17
planning_ai/chains/prompts/reduce.txt CHANGED
@@ -1,31 +1,41 @@
1
- The following are summaries of responses to a local government planning application:
2
 
3
  {context}
4
 
5
- Create a final, consolidated summary of all the main themes, and follow the specified format precisely. For each key point add inline citations which relate to the sources of the information. Use '[SOURCE_NUMBER]' for the citation (e.g. 'The Space Needle is in Seattle [1][2]').". Each summary will indicate whether they OPPOSE or SUPPORT the plan, which indicates which grouping their main argument belongs to. Bare in mind that **any** summary may contain both supporting and opposing key points.
6
 
7
- Format:
8
 
9
- # Summary
10
 
11
- <Extended summary of the all themes>
 
 
 
12
 
13
- # Key points raised in support
14
 
15
- Support: <Total number of responses supporting the application>
16
 
17
- * <Key point 1>
18
- * <Key point 2>
19
- * ...
20
 
21
- # Key points raised in opposition
22
 
23
- Opposed: <Total number of responses opposing the application>
24
 
25
- * <Key point 1>
26
- * <Key point 2>
27
- * ...
28
 
29
- # Thematic breakdown
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
- <Provide a breakdown of the key themes identified (e.g. environmental concerns, economic growth), along with the percentage of responses addressing each theme.>
 
1
+ The following is one or more summaries of responses to a new plan by the South Cambridgeshire Council:
2
 
3
  {context}
4
 
5
+ You are tasked with producing a **detailed and thorough final summary** that consolidates the main themes raised in the responses. **Do not add, infer, or create information.** Only use content directly mentioned in the summaries.
6
 
7
+ Each summary may contain both supporting and opposing key points. Summarise these points in two relevant sections, indicating whether they **support** or **oppose** the proposed plan. Each point should be grouped into a relevant header chosen from the 'Aims' associated with the response summary. **Only include aims mentioned in the provided responses.** Omit any aim that is not discussed.
8
 
9
+ **Guidelines**:
10
 
11
+ - Provide an **extended, one page, balanced summary** of the key themes at the beginning, capturing the overall sentiment and notable trends.
12
+ - In the 'Key points' sections, **group points by aim only if that aim is explicitly mentioned**.
13
+ - Be sure to include specific, concise points that reflect the underlying concerns or support expressed by respondents.
14
+ - Do **not** include information, assumptions, or summaries of aims that were not explicitly mentioned in the responses.
15
 
16
+ **Format**:
17
 
18
+ ## Summary
19
 
20
+ <Provide an extended, comprehensive overview of all the main themes. Mention key concerns, positive feedback, and overall trends.>
 
 
21
 
22
+ ## Key points raised in support
23
 
24
+ For each key point raised in support, group them by aim **only if that aim is mentioned in the responses**.
25
 
26
+ ### [Aim name]
 
 
27
 
28
+ - <Key point 1>
29
+ - <Key point 2>
30
+ - ...
31
+
32
+ ## Key points raised in opposition
33
+
34
+ For each key point raised in opposition, group them by aim **only if that aim is mentioned in the responses**.
35
+
36
+ ### [Aim name]
37
+
38
+ - <Key point 1>
39
+ - <Key point 2>
40
+ - ...
41