Monday, August 3, 2026

Prompt Engineering

Prompt Engineering Frameworks Comparison
Category Framework Components / Meaning Best Use Case
1. General & Professional Tasks
General & Professional Tasks RACE Role, Action, Context, Expectation 80% of daily professional tasks
General & Professional Tasks RTF Role, Task, Format Most minimalist and fastest framework to use
General & Professional Tasks TAG Task, Action, Goal Quick, objective-driven assignments
2. Marketing, Creative, & Communication
Marketing, Creative, & Communication CO-STAR Context, Objective, Style, Tone, Audience, Response Gold standard for high-stakes copywriting and content creation
Marketing, Creative, & Communication CRISPE Capacity/Role, Response, Insight, Scope, Personality, Experiment Developed internally by OpenAI circles for detailed outputs
Marketing, Creative, & Communication CREATE Context, Role, Explicit instructions, Attributes, Target audience, Execute Audience-centric copy and tailored messaging
3. Technical, Analytical, & Deep Research
Technical, Analytical, & Deep Research RISEN Role, Instructions, Steps, End goal, Narrowing constraints Project roadmaps or complex execution plans
Technical, Analytical, & Deep Research RTCROS Role, Task, Context, Resources, Output, Success criteria Production-grade AI features (matches with constraints, commands, resources, rules and performance evaluation) 
Technical, Analytical, & Deep Research CLEAR Context, Limits, Emphasis, Alignment, Review Strategic research and highly regulated topics
4. Advanced "Reasoning" Frameworks
Advanced "Reasoning" Frameworks Chain-of-Thought (CoT) Architectural behavioral method Forces the AI to show its step-by-step reasoning before outputting a final answer.
Advanced "Reasoning" Frameworks Tree-of-Thought (ToT) Architectural behavioral method Guides the AI to evaluate multiple different solution paths simultaneously, self-correcting as it goes.
Advanced "Reasoning" Frameworks ReAct Reasoning + Acting Prompts the AI to alternate between "thinking" about a problem and "acting" (e.g., searching the web, running code).

Prompt Components: Constraints, Commands, Resources, Rules, and Performance Evaluation

A prompt can consist of constraints, commands, resources, rules, and performance evaluation. While a basic prompt might only be a simple question, advanced prompt engineering frameworks frequently use these exact five components to obtain high-quality, predictable outputs from AI models.

Key Idea

Advanced prompt engineering frameworks extend beyond a simple instruction by defining what the AI should do, what limitations it must follow, what information it can use, what rules it must obey, and how the final output will be evaluated.

Component Breakdown

Component Description Example
Commands The core instruction telling the AI what to do. "Write," "Analyze," "Summarize"
Constraints The boundaries or limits placed on the output. "Under 500 words," "Do not use jargon," "Format as markdown"
Resources The background data, context, or examples provided to help the AI understand the task. "Based on the attached CSV file," "Use the following style guide"
Rules The logical guidelines or conditional policies the AI must follow while processing the request. "If the sentiment is negative, escalate to human tone," "Always verify facts before listing them"
Performance Evaluation The criteria or rubric used to tell the AI how its output will be judged, often used in iterative prompts. "Your output will be scored on clarity, accuracy, and conciseness from 1 to 5"
  • Commands:What to do 
  • Constraints: Limits 
  • Resources: Context 
  • Rules: Policies 
  • Performance Evaluation: Quality Criteria
Important Note

Although a simple prompt may contain only a question or instruction, advanced prompt engineering frameworks typically combine these five components to produce more accurate, consistent, and predictable AI responses.

No comments:

Post a Comment

Odds Ratio (OR), Logistic Regression Interpretation vs. Prediction, and Ordinal Logistic Regression

An odds ratio (OR) measures the association between an exposure and an outcome. It represents the odds that an outcome will occur given ...