AI Prompt Creation Framework [ R-A-T-D-E-F-E ]

The LLM (AI) IS LIMITED ONLY BY THE QUALITY OF THE PROMPTS IT GETS. By using different prompt frameworks, you can shape how the AI responds. You get more control, more relevant answers, and an overall better experience.

Role - Action - Task - Details - Exclusion - Format - Example

ROLE:

This represents the role or persona you want to act in the scenario. Specify the exact function or job title (e.g., 'Marketing Manager,' 'Software Engineer,' or 'AI Consultant'). It helps frame the perspective from which the task should be approached.


ACTION:

Define the core action that needs to be accomplished. This should outline the primary goal or requirement for the prompt. What is it that you need the persona to achieve? (e.g., 'Create a content strategy,' 'Develop a machine learning model').


TASK:

This breaks down the action into smaller tasks or steps. Think of it as the 'how' of the action. What are the specific tasks the persona needs to complete to fulfill the action? (e.g., 'Gather data,' 'Draft a proposal,' 'Run tests on code').


DETAILS:

Provide more detail information to enrich the context in which the action is taking place. Include any necessary background or conditions (e.g., 'You are working within a tight deadline,' 'This task is for a high-priority client'). This makes the task more relatable and realistic.


EXCLUSION:

Mention any specific instructions on what should be excluded or avoided in the process. This can include methods, tools, or assumptions that shouldn’t be used (e.g., 'Do not use proprietary data,' 'Avoid manual testing').


FORMAT:

Define how the final output should be delivered. Specify the preferred format for the result, such as a document, table, list, or even code (e.g., 'Submit in CSV format,' 'Present as a report').


EXAMPLES:

Provide an example to illustrate the expected outcome or guide how the task should be approached. This helps clarify the nature of the deliverable (e.g., 'For example, create a blog post draft with the following structure').