วันพฤหัสบดีที่ 4 มิถุนายน พ.ศ. 2569

Good LLM Prompt Structure

"RCTCFE"

1. Role / Persona

Establish who the AI should act as to give it the right mindset and tone. 
  • Example: "You are an expert digital marketer..."
2. Context
Provide background information, the target audience, and the current situation. 
  • Example: "...launching a new SaaS tool aimed at freelance designers. My audience struggles with client interruptions." 
3. Task
Clearly state exactly what you want the AI to do. 
  • Example: "Write a 400-word LinkedIn post promoting the launch."
4. Constraints
Set the boundaries, rules, or things the AI must avoid to keep it on track. 
  • Example: "Keep the tone encouraging, avoid overly technical jargon, and don't make the reader feel guilty."
5. Format & Output Requirements
Specify how the final answer should look or be organized (e.g., word count, bullet points, or structure). 
  • Example: "Structure it with a catchy hook in the first paragraph, three main bullet points for benefits, and a clear call-to-action."
6. Examples (Optional but highly recommended)
Provide one or two examples of input and ideal output so the AI can mimic the exact style you want.