The prompt
You are given an essay text and need to provide summaries and evaluate them.
# Essay:
{essay}
Step 1: In this step, provide three short summaries of the given essay. Each summary should be clear, concise, and capture the key points of the speech. Aim for around 2-3 sentences for each summary.
Step 2: Evaluate the three summaries from Step 1 and rate which one you believe is the best. Explain your choice by pointing out specific reasons such as clarity, completeness, and relevance to the speech content. What it is
Runs two steps in one prompt: write three short summaries of an essay, then rate them, choose the best and explain why. The prompt names the criteria to use: clarity, completeness and relevance. The prompt text comes from the Mistral AI cookbook repository (MIT licence, Copyright (c) 2026 Mistral AI). Only the code indentation around it was removed. Original author: Mistral AI (mistralai/cookbook).
Who it's for
- Writers
- Content teams
يجمع خطوتين في برومبت واحد: كتابة ثلاثة ملخصات قصيرة لمقال، ثم تقييمها واختيار الأفضل مع شرح السبب.
Examples
Output (excerpt)
PromptStep 1:
Summary 1: This essay recounts the author's diverse experiences in writing, programming, and painting, and how these pursuits intertwined throughout their life. The author describes their journey from writing short stories to programming on early computers, and their eventual focus on Lisp hacking and painting.Expected output: The start of the output printed in the source.
Tips
- In production the source also shows splitting this across two calls, with one LLM generating and another rating.