barunsaha commited on
Commit
257cfa2
1 Parent(s): fd50de9

Update the prompts

Browse files
langchain_templates/chat_prompts/initial_template_v3_two_cols.txt CHANGED
@@ -1,9 +1,13 @@
1
  You are a helpful, intelligent chatbot. Create the slides for a presentation on the given topic.
2
  Include main headings for each slide, detailed bullet points for each slide.
3
  Add relevant content to each slide.
4
- The content of each slide should be verbose, descriptive, and very detailed.
5
- If relevant, add one or two examples to illustrate the concept.
6
- Unless explicitly specified with the topic, create about 10 slides.
 
 
 
 
7
 
8
 
9
  ### Topic:
@@ -45,7 +49,7 @@ The output must be only a valid and syntactically correct JSON adhering to the f
45
  "key_message": ""
46
  }},
47
  {{
48
- "heading": "A slide with a double column layout (useful for side-by-side comparison/contrasting of related concepts, e.g., pros & cons, advantages & risks, old approach vs. modern approach, and so on)",
49
  "bullet_points": [
50
  {{
51
  "heading": "Heading of the left column",
@@ -70,14 +74,5 @@ The output must be only a valid and syntactically correct JSON adhering to the f
70
  }}
71
 
72
 
73
- ### Some more hints on the slide content and JSON output format:
74
- - For two or three important slides, generate the key message that those slides convey and assign
75
- them to the `key_message` elements of JSON output.
76
- - Identify if a slide describes a step-by-step/sequential process, then begin the bullet points
77
- with a special marker >>. Limit this to max two or three slides.
78
- - Add at least one slide with double column layout by generating appropriate content based on
79
- the description in the above JSON schema.
80
-
81
-
82
  ### Output:
83
  ```json
 
1
  You are a helpful, intelligent chatbot. Create the slides for a presentation on the given topic.
2
  Include main headings for each slide, detailed bullet points for each slide.
3
  Add relevant content to each slide.
4
+ The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED.
5
+ If relevant, add one or two EXAMPLES to illustrate the concept.
6
+ For two or three important slides, generate the key message that those slides convey.
7
+ Identify if a slide describes a step-by-step/sequential process, then begin the bullet points with a special marker >>. Limit this to max two or three slides.
8
+ Also, add at least one slide with a double column layout by generating appropriate content based on the description in the JSON schema provided below.
9
+ ALWAYS add a concluding slide at the end, containing a list of the key takeways and an optional call-to-action if relevant to the context.
10
+ Unless explicitly instructed, create 10 TO 12 SLIDES in total.
11
 
12
 
13
  ### Topic:
 
49
  "key_message": ""
50
  }},
51
  {{
52
+ "heading": "A slide with a double column layout (useful for side-by-side comparison/contrasting of two related concepts, e.g., pros & cons, advantages & risks, old approach vs. modern approach, and so on)",
53
  "bullet_points": [
54
  {{
55
  "heading": "Heading of the left column",
 
74
  }}
75
 
76
 
 
 
 
 
 
 
 
 
 
77
  ### Output:
78
  ```json
langchain_templates/chat_prompts/refinement_template_v3_two_cols.txt CHANGED
@@ -4,13 +4,13 @@ The previously generated content of the slide deck in JSON format is also provid
4
  Follow the instructions to revise the content of the previously generated slides of the presentation on the given topic.
5
  Include main headings for each slide, detailed bullet points for each slide.
6
  Add relevant content to each slide.
7
- The content of the slides should be descriptive, verbose, and detailed.
8
- If relevant, add one or two examples to illustrate the concept.
9
- Unless explicitly specified with the topic, create about 10 slides.
10
- You also fix any syntax error that may be present in the JSON-formatted content.
11
-
12
- A slide that describes a step-by-step/sequential process begins the bullet points
13
- with a special marker >>
14
 
15
 
16
  ### List of instructions:
@@ -56,7 +56,7 @@ The output must be only a valid and syntactically correct JSON adhering to the f
56
  "key_message": ""
57
  }},
58
  {{
59
- "heading": "A slide with a double column layout (useful for side-by-side comparison/contrasting of related concepts, e.g., pros & cons, advantages & risks, old approach vs. modern approach, and so on)",
60
  "bullet_points": [
61
  {{
62
  "heading": "Heading of the left column",
@@ -81,14 +81,5 @@ The output must be only a valid and syntactically correct JSON adhering to the f
81
  }}
82
 
83
 
84
- ### Some more hints on the slide content and JSON output format:
85
- - For two or three important slides, generate the key message that those slides convey and assign
86
- them to the `key_message` elements of JSON output.
87
- - Identify if a slide describes a step-by-step/sequential process, then begin the bullet points
88
- with a special marker >>. Limit this to max two or three slides.
89
- - Add at least one slide with double column layout by generating appropriate content based on
90
- the description in the above JSON schema.
91
-
92
-
93
  ### Output:
94
  ```json
 
4
  Follow the instructions to revise the content of the previously generated slides of the presentation on the given topic.
5
  Include main headings for each slide, detailed bullet points for each slide.
6
  Add relevant content to each slide.
7
+ The content of each slide should be VERBOSE, DESCRIPTIVE, and very DETAILED.
8
+ If relevant, add one or two EXAMPLES to illustrate the concept.
9
+ For two or three important slides, generate the key message that those slides convey.
10
+ Identify if a slide describes a step-by-step/sequential process, then begin the bullet points with a special marker >>. Limit this to max two or three slides.
11
+ Also, add at least one slide with a double column layout by generating appropriate content based on the description in the JSON schema provided below.
12
+ ALWAYS add a concluding slide at the end, containing a list of the key takeways and an optional call-to-action if relevant to the context.
13
+ Unless explicitly instructed, create 10 TO 12 SLIDES in total.
14
 
15
 
16
  ### List of instructions:
 
56
  "key_message": ""
57
  }},
58
  {{
59
+ "heading": "A slide with a double column layout (useful for side-by-side comparison/contrasting of two related concepts, e.g., pros & cons, advantages & risks, old approach vs. modern approach, and so on)",
60
  "bullet_points": [
61
  {{
62
  "heading": "Heading of the left column",
 
81
  }}
82
 
83
 
 
 
 
 
 
 
 
 
 
84
  ### Output:
85
  ```json