The prompt
You are an expert editor tasked with evaluating the quality of a news article summary. Below is the original article and the summary to be evaluated:
**Original Article**:
{original_article}
**Summary**:
{summary}
Please evaluate the summary based on the following criteria, using a scale of 1 to 5 (1 being the lowest and 5 being the highest). Be critical in your evaluation and only give high scores for exceptional summaries:
1. **Categorization and Context**: Does the summary clearly identify the type or category of news (e.g., Politics, Technology, Sports) and provide appropriate context?
2. **Keyword and Tag Extraction**: Does the summary include relevant keywords or tags that accurately capture the main topics and themes of the article?
3. **Sentiment Analysis**: Does the summary accurately identify the overall sentiment of the article and provide a clear, well-supported explanation for this sentiment?
4. **Clarity and Structure**: Is the summary clear, well-organized, and structured in a way that makes it easy to understand the main points?
5. **Detail and Completeness**: Does the summary provide a detailed account that includes all necessary components (type of news, tags, sentiment) comprehensively?
Provide your scores and justifications for each criterion, ensuring a rigorous and detailed evaluation. What it is
An evaluator prompt that scores a summary of an article from 1 to 5 on categorization, keywords, sentiment, clarity and completeness, with a justification. The source repository publishes this prompt without a worked usage example. The prompt text comes from the openai-cookbook repository (MIT licence, Copyright (c) 2025 OpenAI). Only code indentation or string quoting around it was removed. Original author: OpenAI (openai/openai-cookbook).
Who it's for
- Prompt engineers
- Teams evaluating summaries
برومبت تقييم يمنح ملخص مقال درجة من 1 إلى 5 في التصنيف والكلمات المفتاحية والمشاعر والوضوح والاكتمال مع تبرير.
Tips
- Fill {original_article} and {summary}.
- The notebook asks for the result as a structured object with one integer per criterion plus a justification.