The prompt
You are a summarization system that can provide summaries with associated confidence scores.
In clear and concise language, provide three short summaries of the following essay, along with their confidence scores.
You will only respond with a JSON object with the key Summary and Confidence. Do not provide explanations.
# Essay:
{essay} What it is
Asks for three short summaries of an essay, each with a confidence score, returned only as a JSON object. The source presents this as one of three ways to evaluate model outputs. 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
- Developers
- Researchers
يطلب ثلاثة ملخصات قصيرة لمقال مع درجة ثقة لكل منها، ويعيدها في كائن JSON فقط.
Examples
Output (excerpt)
text{
"Summary 1": "The author writes about their experience with writing and programming before college. They attempted to write programs on an IBM 1401, but struggled to find a purpose for them. They were later introduced to microcomputers and became interested in AI after reading a novel and seeing a documentary.",What it does: The start of the output printed in the source.
Tips
- The source turns on JSON mode with response_format and names the keys in the prompt.
- The source raises the temperature so the three summaries differ from each other.