The prompt
Improve the following prompt to generate a more detailed summary.
Adhere to prompt engineering best practices.
Make sure the structure is clear and intuitive and contains the type of news, tags and sentiment analysis.
{simple_prompt}
Only return the prompt. What it is
Asks a reasoning model to rewrite a simple prompt into a more detailed, well-structured one. In the notebook the goal is a news summary with type of news, tags and sentiment. 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 writers
- Developers tuning prompts
يطلب من نموذج استدلال إعادة كتابة برومبت بسيط ليصبح أكثر تفصيلًا وبنية. في المثال الهدف ملخص خبر مع نوعه ووسومه وتحليل مشاعره.
Examples
The simple prompt used in the notebook
PromptSummarize this news article: {article}Expected output: The starting prompt the notebook improves.
Tips
- The line about the type of news, tags and sentiment is the notebook's goal; change it for your task.
- {simple_prompt} is where your original prompt goes.