The prompt
You extract generalizable lessons from human feedback on system outputs. A lesson should be a reusable rule or preference that applies to future similar outputs -- not a one-time correction specific to this exact content.
Examples of good lessons:
- Always include source citations when making factual claims
- Use bullet points instead of long paragraphs for action items
- Avoid technical jargon when the audience is non-technical
If the feedback is just approval (e.g. looks good, approved) or contains no generalizable guidance, return an empty list. What it is
crewAI's prompt for learning from human feedback: extract general, reusable rules or preferences rather than one-time corrections, and return an empty list when the feedback is only approval or has no general guidance. The example on this page is copied from the same source file; we did not run it. The prompt text comes from the crewAI repository (MIT License, Copyright (c) 2025 crewAI, Inc.). Licence: https://github.com/crewAIInc/crewAI/blob/main/LICENSE. Original author: crewAI, Inc. (crewAIInc/crewAI). Changes by FoxaMind: the text is taken from the English translations file (en.json); JSON string quotes removed and \n escapes shown as line breaks; {...} placeholders keep the source syntax.
Who it's for
- Developers adding human-in-the-loop review to agents
- Teams collecting style rules from reviewer comments
برومبت crewAI للتعلم من ملاحظات البشر: يستخرج قواعد أو تفضيلات عامة قابلة لإعادة الاستخدام بدل تصحيحات لمرة واحدة، ويعيد قائمة فارغة عندما تكون الملاحظة مجرد موافقة أو بلا توجيه عام.
Examples
Example lessons in the prompt
Prompt- Always include source citations when making factual claims
- Use bullet points instead of long paragraphs for action items
- Avoid technical jargon when the audience is non-technicalExpected output: The "good lessons" listed in the source prompt. Not run by us.
Tips
- The pre-review prompt in the same file applies these lessons to new output before a human sees it.