barunsaha commited on
Commit
842b75a
1 Parent(s): f845b93

Update instructions in the JSON generation template

Browse files
langchain_templates/text_to_json_template.txt CHANGED
@@ -31,9 +31,8 @@ Text:
31
  In the output JSON, the `heading` field should contain the heading of each slide,
32
  Each slide object has a `bullet_points` array containing the slide's contents.
33
  The `bullet_points` array can contain strings or array of strings.
34
- The sub-bullets for each slide from the input text should appear as an array of strings inside `bullet_points`.
35
  The `bullet_points` field must not contain any object.
36
- The output JSON must contain everything from the input text, do not lose anything.
37
 
38
  Output:
39
  ```json
 
31
  In the output JSON, the `heading` field should contain the heading of each slide,
32
  Each slide object has a `bullet_points` array containing the slide's contents.
33
  The `bullet_points` array can contain strings or array of strings.
34
+ The indented sub-bullets for each slide from the input text should appear as an array of strings inside `bullet_points`.
35
  The `bullet_points` field must not contain any object.
 
36
 
37
  Output:
38
  ```json