Spaces:
Sleeping
Sleeping
Update document_generator.py
Browse files- 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
|
| 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>
|
|
@@ -57,12 +57,12 @@ OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
|
|
| 57 |
{
|
| 58 |
"SectionNumber": "1",
|
| 59 |
"Title": "Section Title",
|
| 60 |
-
"Content": "Specific prompt or instruction for generating
|
| 61 |
"Subsections": [
|
| 62 |
{
|
| 63 |
"SectionNumber": "1.1",
|
| 64 |
"Title": "Subsection Title",
|
| 65 |
-
"Content": "Specific prompt or instruction for generating
|
| 66 |
}
|
| 67 |
]
|
| 68 |
}
|
|
|
|
| 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>
|
|
|
|
| 57 |
{
|
| 58 |
"SectionNumber": "1",
|
| 59 |
"Title": "Section Title",
|
| 60 |
+
"Content": "Specific prompt or instruction for generating template for this section",
|
| 61 |
"Subsections": [
|
| 62 |
{
|
| 63 |
"SectionNumber": "1.1",
|
| 64 |
"Title": "Subsection Title",
|
| 65 |
+
"Content": "Specific prompt or instruction for generating template for this subsection"
|
| 66 |
}
|
| 67 |
]
|
| 68 |
}
|