barunsaha commited on
Commit
9921888
1 Parent(s): 6205107

Update the prompts to try and generate only JSON (!)

Browse files
langchain_templates/chat_prompts/initial_template.txt CHANGED
@@ -10,7 +10,7 @@ Unless explicitly specified with the topic, create about 10 slides.
10
  {question}
11
 
12
 
13
- The output must be valid and syntactically correct JSON adhering to the following schema:
14
  {{
15
  "title": "Presentation Title",
16
  "slides": [
 
10
  {question}
11
 
12
 
13
+ The output must be only a valid and syntactically correct JSON adhering to the following schema:
14
  {{
15
  "title": "Presentation Title",
16
  "slides": [
langchain_templates/chat_prompts/refinement_template.txt CHANGED
@@ -18,7 +18,7 @@ You also fix any syntax error that may be present in the JSON-formatted content.
18
  {previous_content}
19
 
20
 
21
- The output must be valid and syntactically correct JSON adhering to the following schema:
22
  {{
23
  "title": "Presentation Title",
24
  "slides": [
 
18
  {previous_content}
19
 
20
 
21
+ The output must be only a valid and syntactically correct JSON adhering to the following schema:
22
  {{
23
  "title": "Presentation Title",
24
  "slides": [