Spaces:
Running
Running
Update document_generator_v3.py
Browse files- 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 {
|
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 = """Generate a document template outline consisting of {
|
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
|