Spaces:
Running
Running
update prompt
Browse files- document_generator_v3.py +3 -3
document_generator_v3.py
CHANGED
@@ -37,7 +37,7 @@ OUTPUT AS A WELL FORMATED DOCUMENT ENCLOSED IN <response></response> tags
|
|
37 |
<overall_objective>{overall_objective}</overall_objective>
|
38 |
<document_layout>{document_layout}</document_layout>"""
|
39 |
|
40 |
-
DOCUMENT_SECTION_PROMPT_USER = """<prompt>Output the content for the section "{section_or_subsection_title}" formatted as markdown. Follow
|
41 |
|
42 |
##########################################
|
43 |
|
@@ -53,7 +53,7 @@ OUTPUT IN FOLLOWING JSON FORMAT enclosed in <output> tags
|
|
53 |
"Date": "YYYY-MM-DD",
|
54 |
"Version": "1.0",
|
55 |
|
56 |
-
"
|
57 |
{
|
58 |
"PageNumber": "1",
|
59 |
"Title": "Section Title",
|
@@ -78,7 +78,7 @@ 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 |
|
81 |
-
DOCUMENT_TEMPLATE_SECTION_PROMPT_USER = """<prompt>Output the content for the section "{section_or_subsection_title}" formatted as markdown. Follow
|
82 |
|
83 |
|
84 |
# File: llm_observability.py
|
|
|
37 |
<overall_objective>{overall_objective}</overall_objective>
|
38 |
<document_layout>{document_layout}</document_layout>"""
|
39 |
|
40 |
+
DOCUMENT_SECTION_PROMPT_USER = """<prompt>Output the content for the section "{section_or_subsection_title}" formatted as markdown. Follow the instructions below title/subtitle to replace it with appropriate content: {content_instruction}</prompt>"""
|
41 |
|
42 |
##########################################
|
43 |
|
|
|
53 |
"Date": "YYYY-MM-DD",
|
54 |
"Version": "1.0",
|
55 |
|
56 |
+
"Pages": [
|
57 |
{
|
58 |
"PageNumber": "1",
|
59 |
"Title": "Section Title",
|
|
|
78 |
<overall_objective>{overall_objective}</overall_objective>
|
79 |
<document_layout>{document_layout}</document_layout>"""
|
80 |
|
81 |
+
DOCUMENT_TEMPLATE_SECTION_PROMPT_USER = """<prompt>Output the content for the section "{section_or_subsection_title}" formatted as markdown. Follow the instructions below title/subtitle to replace it with appropriate content: {content_instruction}</prompt>""""""
|
82 |
|
83 |
|
84 |
# File: llm_observability.py
|