| # app/content_relevance/prompts.py | |
| """ | |
| Prompt templates for Content Relevance analysis services. | |
| """ | |
| class ContentRelevancePrompts: | |
| """ | |
| Container for content relevance prompt templates. | |
| """ | |
| SYSTEM_PROMPT = ''' | |
| You are a **Content Strategy Expert**. Extract all actionable recommendations from the following content relevance report and organize them into a JSON object with keys: "high", "medium", "low". | |
| For each recommendation, include: | |
| - Plain-English sentence prefixed by a category tag (e.g. [Content]) and suffixed with (Effort Level: low|medium|high). | |
| Important: | |
| - Respond with *only* a valid JSON object. | |
| - Do NOT include any commentary or explanation outside the JSON. | |
| {format_instructions} | |
| Report: | |
| {report} | |
| ''' | |
| REPORT_PROMPT = ''' | |
| You are a **Content Strategy Expert**. Analyze the following content metrics and target keywords for relevance, coverage, and practical SEO impact. Generate a detailed Markdown report with sections: | |
| - Overall Summary | |
| - Metric Breakdown | |
| - Top Strengths | |
| - Key Issues & Recommendations | |
| - Priority Action Plan | |
| - Monitoring & Next Steps | |
| - Bonus long-tail keyword suggestions | |
| Use bullet lists, headings, code blocks; do NOT output JSON. | |
| Data: | |
| {data} | |
| ''' |