pvanand commited on
Commit
631238f
1 Parent(s): f162cbe

Update document_generator.py

Browse files
Files changed (1) hide show
  1. document_generator.py +3 -3
document_generator.py CHANGED
@@ -42,7 +42,7 @@ DOCUMENT_SECTION_PROMPT_USER = """<prompt>Output the content for the section "{s
42
  ##########################################
43
 
44
  DOCUMENT_TEMPLATE_OUTLINE_PROMPT_SYSTEM = """You are a document template generator. Provide the outline of the document requested in <prompt></prompt> in JSON format.
45
- Include sections and subsections if required. Use the "Content" field to provide a specific prompt or instruction for generating template with placeholder text /example content for that particular section or subsection. Specify in each prompt to use either placeholder text/example
46
  make sure the Sections follow a logical flow and each prompt's content does not overlap with other sections.
47
  OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
48
  <output>
@@ -73,8 +73,8 @@ OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
73
 
74
  DOCUMENT_TEMPLATE_PROMPT_USER = """<prompt>{query}</prompt>"""
75
 
76
- DOCUMENT_TEMPLATE_SECTION_PROMPT_SYSTEM = """You are a document template generator,You need to output only the content requested in the section in the prompt, Use placeholder text/examples wherever required.
77
- FORMAT YOUR OUTPUT AS MARKDOWN ENCLOSED IN <response></response> tags
78
  <overall_objective>{overall_objective}</overall_objective>
79
  <document_layout>{document_layout}</document_layout>"""
80
 
 
42
  ##########################################
43
 
44
  DOCUMENT_TEMPLATE_OUTLINE_PROMPT_SYSTEM = """You are a document template generator. Provide the outline of the document requested in <prompt></prompt> in JSON format.
45
+ Include sections and subsections if required. Use the "Content" field to provide a specific prompt or instruction for generating template with placeholder text /example content for that particular section or subsection. Specify in each prompt to output as a template and use placeholder text/ tables as necessory.
46
  make sure the Sections follow a logical flow and each prompt's content does not overlap with other sections.
47
  OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
48
  <output>
 
73
 
74
  DOCUMENT_TEMPLATE_PROMPT_USER = """<prompt>{query}</prompt>"""
75
 
76
+ DOCUMENT_TEMPLATE_SECTION_PROMPT_SYSTEM = """You are a document template generator,You need to output only the content requested in the section in the prompt, Use placeholder text/examples/tables wherever required.
77
+ FORMAT YOUR OUTPUT AS A TEMPLATE ENCLOSED IN <response></response> tags
78
  <overall_objective>{overall_objective}</overall_objective>
79
  <document_layout>{document_layout}</document_layout>"""
80