@@ -6,6 +6,8 @@ templates:
6
6
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
7
7
"") | list %}
8
8
9
+ {% if document != "" %}
10
+
9
11
What are the key points across these news articles:
10
12
11
13
{% for doc in docs %}
@@ -17,7 +19,9 @@ templates:
17
19
18
20
|||
19
21
20
- {{summary[2:]}}'
22
+ {{summary[2:]}}
23
+
24
+ {% endif %}'
21
25
metadata : !TemplateMetadata
22
26
choices_in_prompt : false
23
27
metrics :
@@ -32,6 +36,8 @@ templates:
32
36
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
33
37
"") | list %}
34
38
39
+ {% if document != "" %}
40
+
35
41
Synthesize these documents into a single one:
36
42
37
43
{% for doc in docs %}
@@ -43,7 +49,9 @@ templates:
43
49
44
50
|||
45
51
46
- {{summary[2:]}}'
52
+ {{summary[2:]}}
53
+
54
+ {% endif %}'
47
55
metadata : !TemplateMetadata
48
56
choices_in_prompt : false
49
57
metrics :
@@ -58,6 +66,8 @@ templates:
58
66
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
59
67
"") | list %}
60
68
69
+ {% if document != "" %}
70
+
61
71
I want to edit the following articles into a more concise summary:
62
72
63
73
{% for doc in docs %}
@@ -69,7 +79,9 @@ templates:
69
79
70
80
|||
71
81
72
- {{summary[2:]}}'
82
+ {{summary[2:]}}
83
+
84
+ {% endif %}'
73
85
metadata : !TemplateMetadata
74
86
choices_in_prompt : false
75
87
metrics :
@@ -84,6 +96,8 @@ templates:
84
96
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
85
97
"") | list %}
86
98
99
+ {% if document != "" %}
100
+
87
101
Write a summary of the following articles:
88
102
89
103
{% for doc in docs %}
@@ -95,7 +109,9 @@ templates:
95
109
96
110
|||
97
111
98
- {{summary[2:]}}'
112
+ {{summary[2:]}}
113
+
114
+ {% endif %}'
99
115
metadata : !TemplateMetadata
100
116
choices_in_prompt : false
101
117
metrics :
@@ -110,13 +126,17 @@ templates:
110
126
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
111
127
"") | list%}
112
128
129
+ {% if document != "" %}
130
+
113
131
Write an expanded news article with plausible details from the following summary:
114
132
115
133
{{summary[2:]}}
116
134
117
135
|||
118
136
119
- {{docs | choice}}'
137
+ {{docs | choice}}
138
+
139
+ {% endif %}'
120
140
metadata : !TemplateMetadata
121
141
choices_in_prompt : false
122
142
metrics :
@@ -131,6 +151,8 @@ templates:
131
151
jinja : ' {% set docs = document.split("3ed2dface8203c4c9dfb1a5dc58e41e0||") | reject("equalto",
132
152
"") | list %}
133
153
154
+ {% if document != "" %}
155
+
134
156
I'' m trying to distill these articles down into one:
135
157
136
158
{% for doc in docs %}
@@ -142,7 +164,9 @@ templates:
142
164
143
165
|||
144
166
145
- {{summary[2:]}}'
167
+ {{summary[2:]}}
168
+
169
+ {% endif %}'
146
170
metadata : !TemplateMetadata
147
171
choices_in_prompt : false
148
172
metrics :
0 commit comments