Spaces:
Running
Running
Update document_generator.py
Browse files- document_generator.py +2 -2
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.
|
| 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,7 +73,7 @@ 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,
|
| 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>"""
|
|
|
|
| 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 |
|
| 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>"""
|