pvanand commited on
Commit
09eefb7
1 Parent(s): 4efacec

update template prompt

Browse files
Files changed (1) hide show
  1. document_generator_v3.py +2 -2
document_generator_v3.py CHANGED
@@ -30,7 +30,7 @@ OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
30
  }
31
  </output>"""
32
 
33
- DOCUMENT_OUTLINE_PROMPT_USER = """Generate a document outline consisting of {num_pages} pages for the following query: <prompt>{query}</prompt>"""
34
 
35
  DOCUMENT_SECTION_PROMPT_SYSTEM = """You are a document generator, replace the section/subsection prompts with the requested content.
36
  OUTPUT AS A WELL FORMATED DOCUMENT ENCLOSED IN <response></response> tags
@@ -71,7 +71,7 @@ OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
71
  }
72
  </output>"""
73
 
74
- DOCUMENT_TEMPLATE_PROMPT_USER = """<prompt>{query}</prompt>"""
75
 
76
  DOCUMENT_TEMPLATE_SECTION_PROMPT_SYSTEM = """You are a document template generator, replace the section/subsection prompts with the requested content, Use placeholder text/examples/tables wherever required.
77
  FORMAT YOUR OUTPUT AS A TEMPLATE ENCLOSED IN <response></response> tags
 
30
  }
31
  </output>"""
32
 
33
+ DOCUMENT_OUTLINE_PROMPT_USER = """Generate a document outline consisting of {{num_pages}} pages for the following query: <prompt>{query}</prompt>"""
34
 
35
  DOCUMENT_SECTION_PROMPT_SYSTEM = """You are a document generator, replace the section/subsection prompts with the requested content.
36
  OUTPUT AS A WELL FORMATED DOCUMENT ENCLOSED IN <response></response> tags
 
71
  }
72
  </output>"""
73
 
74
+ DOCUMENT_TEMPLATE_PROMPT_USER = """Generate a document template outline consisting of {{num_pages}} pages for the following query:<prompt>{query}</prompt>"""
75
 
76
  DOCUMENT_TEMPLATE_SECTION_PROMPT_SYSTEM = """You are a document template generator, replace the section/subsection prompts with the requested content, Use placeholder text/examples/tables wherever required.
77
  FORMAT YOUR OUTPUT AS A TEMPLATE ENCLOSED IN <response></response> tags