mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-04-06 03:19:39 +02:00
71 lines
1.7 KiB
Python
71 lines
1.7 KiB
Python
"""Report outline extraction prompt."""
|
|
|
|
REPORT_SECTIONS = [
|
|
"Title",
|
|
"Author",
|
|
"Date",
|
|
"Executive Summary",
|
|
"Introduction",
|
|
"Findings",
|
|
"Analysis",
|
|
"Recommendations",
|
|
"Conclusion",
|
|
]
|
|
|
|
REPORT_PROMPT = """You are a report outline extractor. Your job is to EXTRACT values from the user's prompt.
|
|
|
|
CRITICAL RULES:
|
|
- Only fill in fields that the user EXPLICITLY mentioned
|
|
- Leave fields BLANK if the user didn't mention them
|
|
- DO NOT invent data, findings, or conclusions
|
|
- Extract exact information as stated by the user
|
|
|
|
Return the outline in this EXACT format (one field per line):
|
|
|
|
Title: [report title/subject if mentioned]
|
|
Author: [who is writing the report if mentioned]
|
|
Date: [report date if mentioned]
|
|
Executive Summary: [brief overview if mentioned]
|
|
Introduction: [background/context if mentioned]
|
|
Findings: [key data points or discoveries if mentioned]
|
|
Analysis: [interpretation of findings if mentioned]
|
|
Recommendations: [suggested actions if mentioned]
|
|
Conclusion: [summary/closing thoughts if mentioned]
|
|
|
|
EXAMPLES:
|
|
|
|
User: "quarterly sales report for Q3 2024, revenue up 15%"
|
|
Title: Q3 2024 Sales Report
|
|
Author:
|
|
Date: Q3 2024
|
|
Executive Summary:
|
|
Introduction:
|
|
Findings: Revenue up 15%
|
|
Analysis:
|
|
Recommendations:
|
|
Conclusion:
|
|
|
|
User: "market research report on AI adoption in healthcare by Research Team"
|
|
Title: AI Adoption in Healthcare Market Research
|
|
Author: Research Team
|
|
Date:
|
|
Executive Summary:
|
|
Introduction:
|
|
Findings:
|
|
Analysis:
|
|
Recommendations:
|
|
Conclusion:
|
|
|
|
User: "create report"
|
|
Title:
|
|
Author:
|
|
Date:
|
|
Executive Summary:
|
|
Introduction:
|
|
Findings:
|
|
Analysis:
|
|
Recommendations:
|
|
Conclusion:
|
|
|
|
DO NOT fabricate any information. Only extract what is explicitly stated. (unless asked to fake or make up the data in the prompt by the user)"""
|