🎯 Prompt Engineering คืออะไร?
What is Prompt Engineering?
🇹🇭 ภาษาไทย
Prompt Engineering (วิศวกรรม Prompt) คือศิลปะและทักษะในการเขียนคำสั่ง (prompt) ที่ดีเพื่อให้ AI ให้คำตอบที่ตรงกับสิ่งที่คุณต้องการ
Prompt ที่ดีจะทำให้ AI เข้าใจคุณได้ดีขึ้น ตอบได้ตรงประเด็นมากขึ้น และให้ผลลัพธ์ที่มีคุณภาพสูงขึ้น
เปรียบเทียบได้กับการถามคำถามที่ดี — ยิ่งถามชัดเจน ยิ่งได้คำตอบที่ดี! การใช้ ภาษาสุภาพ เช่น "Could you..." หรือ "Would you..." ก็เป็นส่วนสำคัญของการเขียน prompt ที่ดี
🇬🇧 English
Prompt Engineering is the art and skill of writing good instructions (prompts) so that AI gives you the answer you actually want.
A good prompt helps AI understand you better, respond more accurately, and produce higher quality results.
Think of it like asking a good question — the clearer you ask, the better the answer! Using polite language like "Could you..." or "Would you..." is also an important part of writing good prompts.
🌟 Fun Facts — ข้อเท็จจริงน่าสนใจ
- "Prompt Engineer" is one of the highest-paying new jobs in tech — some earn over $300,000/year! — "Prompt Engineer" เป็นหนึ่งในอาชีพใหม่ที่เงินเดือนสูงที่สุดในวงการเทค!
- A well-written prompt can improve AI output quality by over 50% — prompt ที่เขียนดีช่วยเพิ่มคุณภาพคำตอบของ AI ได้กว่า 50%
- The difference between a vague and specific prompt is like asking "Tell me something" vs. "Could you explain photosynthesis in 3 sentences for a 10-year-old?" — ความแตกต่างระหว่าง prompt ที่คลุมเครือกับเจาะจงเหมือนการถามว่า "บอกอะไรมา" กับ "ช่วยอธิบายการสังเคราะห์แสงใน 3 ประโยคสำหรับเด็ก 10 ขวบได้ไหม?"
- Companies like Google, Microsoft, and OpenAI all hire prompt engineers — บริษัทใหญ่อย่าง Google, Microsoft และ OpenAI ล้วนจ้าง prompt engineer
🇹🇭 ทำไมต้องเรียน Prompt Engineering?
- ช่วยให้คุณใช้ AI ได้อย่างมีประสิทธิภาพมากขึ้น
- ฝึกทักษะการสื่อสารภาษาอังกฤษอย่างชัดเจน
- เรียนรู้การใช้ภาษาสุภาพ (Could you / Would you / Can you)
- เป็นทักษะสำคัญสำหรับการทำงานในอนาคต
🇬🇧 Why Learn Prompt Engineering?
- It helps you use AI more effectively
- It trains you to communicate clearly in English
- You learn polite language (Could you / Would you / Can you)
- It is an essential skill for future careers
🧪 Section Check — ตรวจสอบความเข้าใจ
Test your understanding of prompt engineering basics — ทดสอบความเข้าใจพื้นฐาน Prompt Engineering
Prompt Engineering is the skill of writing good ___ so that AI gives you the answer you want.
Prompt Engineering คือทักษะในการเขียน ___ ที่ดีเพื่อให้ AI ตอบตรงกับที่คุณต้องการ
"Could you explain what AI is?" — Which part of this sentence is the polite request?
"Could you explain what AI is?" — ส่วนไหนของประโยคนี้คือการขอร้องอย่างสุภาพ?
A well-written prompt can improve AI output quality by over ___.
Prompt ที่เขียนดีสามารถเพิ่มคุณภาพผลลัพธ์ของ AI ได้มากกว่า ___
📚 คำศัพท์สำคัญ
Key Vocabulary
ข้อความหรือคำสั่งที่คุณให้ AI เพื่อรับคำตอบ
คำสั่งที่ชัดเจนบอก AI ว่าต้องทำอะไร
ข้อมูลพื้นฐานที่ช่วยให้ AI เข้าใจสิ่งที่คุณต้องการ
ตัวละครหรือบุคลิกที่คุณกำหนดให้ AI เช่น "ครู" หรือ "นักแปล"
การตั้งค่าที่ควบคุมว่า AI จะตอบสร้างสรรค์หรือตรงประเด็นแค่ไหน
คำตอบหรือผลลัพธ์ที่ AI สร้างขึ้นหลังจากได้รับ prompt ของคุณ
ชัดเจนและละเอียด prompt ที่เจาะจงจะได้คำตอบที่ดีกว่า
ไม่ชัดเจนหรือกว้างเกินไป prompt ที่คลุมเครือมักให้ผลลัพธ์ไม่ดี
ปรับปรุงให้ดีขึ้น คุณปรับปรุง prompt เพื่อให้ได้คำตอบที่ดีขึ้น
ทำซ้ำโดยปรับปรุงทุกครั้ง การเขียน prompt ที่ดีต้องอาศัยการทำซ้ำ
ขอบเขตหรือกฎที่คุณกำหนดใน prompt เช่น "ตอบใน 3 ประโยค" หรือ "ใช้ภาษาอังกฤษง่ายๆ"
โครงสร้างหรือรูปแบบที่คุณต้องการสำหรับคำตอบของ AI เช่น รายการ ตาราง หรือย่อหน้า
🧪 Section Check — ตรวจสอบความเข้าใจ
Match the vocabulary to its meaning — จับคู่คำศัพท์กับความหมาย
To ___ means to repeat a process, making improvements each time. "Could you ___ on my prompt to make it better?"
คำว่า ___ หมายถึงการทำซ้ำโดยปรับปรุงทุกครั้ง "คุณช่วย ___ prompt ของฉันให้ดีขึ้นได้ไหม?"
A ___ is a limit or rule you set in your prompt, such as "answer in 3 sentences."
___ คือขอบเขตหรือกฎที่คุณกำหนดใน prompt เช่น "ตอบใน 3 ประโยค"
Which sentence uses "Could you" correctly? "Could you ___ the key vocabulary for me?"
ประโยคไหนใช้ "Could you" ถูกต้อง? "Could you ___ คำศัพท์สำคัญให้ฉันได้ไหม?"
📖 ไวยากรณ์ในบริบท AI
Grammar in Context: Polite Requests
🔤 Polite Requests: Could you / Would you / Can you + base verb
Polite Requests (การขอร้องอย่างสุภาพ) ใช้เมื่อคุณต้องการขอให้ใครทำอะไรอย่างสุภาพ ซึ่งเป็นสิ่งสำคัญมากเมื่อเขียน prompt ให้ AI
รูปแบบ: Could you / Would you / Can you + base verb (V1)
ระดับความสุภาพ:
- Could you...? — สุภาพมาก (most polite) เหมาะกับทุกสถานการณ์
- Would you...? — สุภาพ (polite) แสดงความเต็มใจ
- Can you...? — สุภาพปกติ (casual polite) ใช้ในชีวิตประจำวัน
✅ Could you explain AI in simple English?
คุณช่วยอธิบาย AI เป็นภาษาอังกฤษง่ายๆ ได้ไหม? (สุภาพมาก)
✅ Would you translate this to Thai?
คุณช่วยแปลสิ่งนี้เป็นภาษาไทยได้ไหม? (สุภาพ)
✅ Can you give me 3 examples?
คุณช่วยยกตัวอย่าง 3 ข้อได้ไหม? (สุภาพปกติ)
✅ Could you summarize this in 5 bullet points?
คุณช่วยสรุปเป็น 5 ข้อได้ไหม?
❌ Could you explains AI? → ✅ Could you explain AI?
หลัง Could you / Would you / Can you ต้องใช้ base verb (V1) เสมอ ไม่เติม -s, -ed, -ing
❌ Can you to help me? → ✅ Can you help me?
ไม่ต้องใส่ "to" หลัง Can you / Could you / Would you
💡 Grammar Tip — เคล็ดลับไวยากรณ์
Thai: ในภาษาไทยเราใช้ "ได้ไหม" หรือ "ช่วย...หน่อย" เพื่อขอร้อง ในภาษาอังกฤษ "Could you" สุภาพที่สุด ตามด้วย "Would you" และ "Can you" — ทั้งหมดตามด้วย base verb (V1) เสมอ
English: "Could you" is the most polite, followed by "Would you" and "Can you." All three are followed by the base verb (V1) — never add -s, -ed, -ing, or "to" after them.
🇹🇭 ตัวอย่าง Polite Requests สำหรับ AI Prompts
- Could you write a summary? — ช่วยเขียนบทสรุปได้ไหม?
- Would you check my grammar? — ช่วยตรวจไวยากรณ์ได้ไหม?
- Can you list 5 examples? — ช่วยยกตัวอย่าง 5 ข้อได้ไหม?
- Could you explain this in Thai? — ช่วยอธิบายเป็นภาษาไทยได้ไหม?
- Would you make it simpler? — ช่วยทำให้ง่ายขึ้นได้ไหม?
🇬🇧 Polite Request Examples for AI Prompts
- Could you write a summary of this article?
- Would you check my grammar and fix mistakes?
- Can you list 5 examples of AI in daily life?
- Could you explain this concept in simple English?
- Would you rewrite this paragraph to make it simpler?
🧪 Section Check — ตรวจสอบความเข้าใจ
Fill in the blank with the correct polite request — เติมคำขอร้องสุภาพที่ถูกต้อง
"___ translate this paragraph to Thai for me?" — Choose the most polite option.
"___ แปลย่อหน้านี้เป็นภาษาไทยให้ฉันได้ไหม?" — เลือกตัวเลือกที่สุภาพที่สุด
Which sentence is grammatically CORRECT?
ประโยคไหนถูกต้องตามหลักไวยากรณ์?
"___ check my grammar and fix any mistakes?" — Fill in the blank with a polite request.
"___ ตรวจไวยากรณ์และแก้ไขข้อผิดพลาดให้ฉันได้ไหม?"
🚀 เริ่มต้นเขียน Prompt ที่ดี
Getting Started: Writing Good Prompts
🇹🇭 หลัก 5 ข้อของ Prompt ที่ดี
- ชัดเจน — บอก AI ว่าต้องการอะไรอย่างตรงไปตรงมา
- เจาะจง — ระบุรายละเอียดมากที่สุด
- กำหนดบริบท — บอก AI ว่าคุณเป็นใคร
- กำหนดรูปแบบ — บอกว่าต้องการคำตอบแบบไหน
- ใช้ภาษาสุภาพ — ใช้ Could you / Would you / Can you
🇬🇧 5 Rules for Good Prompts
- Be clear — tell AI exactly what you want
- Be specific — include as much detail as possible
- Give context — tell AI who you are
- Set the format — say what kind of answer you want
- Be polite — use Could you / Would you / Can you
1ชัดเจน — Be Clear
2เจาะจง — Be Specific
3กำหนดบริบท — Give Context
4กำหนดรูปแบบ — Set the Format
5ใช้ภาษาสุภาพ — Be Polite
💡 Pro Tip — เคล็ดลับมือโปร
Thai: ลองใช้สูตรนี้สำหรับทุก prompt: บริบท + คำขอสุภาพ + รายละเอียด + รูปแบบ
English: Try this formula for every prompt: Context + Polite Request + Details + Format
Example: "I am a Thai student. Could you explain prompt engineering? Please use simple English and give 3 examples."
🧪 Section Check — ตรวจสอบความเข้าใจ
Test your knowledge of good prompt writing — ทดสอบความรู้เรื่องการเขียน Prompt ที่ดี
Which is a BETTER prompt? Option A: "Tell me about AI." — Option B: "Could you explain what AI chatbots are in 3 simple sentences for a Thai student?"
Prompt ไหนดีกว่า? A: "Tell me about AI." — B: "Could you explain what AI chatbots are in 3 simple sentences for a Thai student?"
The formula for a good prompt is: Context + ___ + Details + Format.
สูตรของ prompt ที่ดีคือ: บริบท + ___ + รายละเอียด + รูปแบบ
"I am a Thai student. ___ give me a comparison table of ChatGPT and Claude?" — Complete the polite prompt.
"ฉันเป็นนักเรียนไทย ___ ให้ตารางเปรียบเทียบ ChatGPT กับ Claude ได้ไหม?"
🛠️ โปรเจกต์ลงมือทำ
Hands-On Project: Create 5 Polite Prompts
Write 5 Different Prompts Using Polite Requests — เขียน 5 Prompt โดยใช้การขอร้องสุภาพ 🌱 Easy to Medium
เป้าหมาย: เขียน prompt 5 แบบโดยใช้ Could you / Would you / Can you คนละแบบ
แต่ละ prompt ต้องมี: บริบท + คำขอสุภาพ + รายละเอียด + รูปแบบ
Goal: Write 5 different prompts using Could you / Would you / Can you.
Each prompt must include: context + polite request + details + format.
⚠️ Remember / จำไว้นะ
Thai: หลัง Could you / Would you / Can you ต้องใช้ base verb (V1) เท่านั้น ไม่เติม -s, -ed, -ing หรือ to
English: After Could you / Would you / Can you, always use the base verb (V1) — never add -s, -ed, -ing, or "to."
📊 ตาราง Prompt Template
Prompt Template Reference
| Prompt Type ประเภท Prompt |
Polite Request คำขอสุภาพ |
Example ตัวอย่าง |
|---|---|---|
| Explanation อธิบาย |
Could you explain...? | "Could you explain prompt engineering in simple English?" |
| Translation แปลภาษา |
Would you translate...? | "Would you translate this paragraph to Thai?" |
| List / Examples รายการ / ตัวอย่าง |
Can you give me...? | "Can you give me 5 examples of good prompts?" |
| Summary สรุป |
Could you summarize...? | "Could you summarize this article in 3 bullet points?" |
| Grammar Check ตรวจไวยากรณ์ |
Would you check...? | "Would you check my grammar in these sentences?" |
| Comparison เปรียบเทียบ |
Can you compare...? | "Can you compare ChatGPT and Claude in a table?" |
| Improvement ปรับปรุง |
Could you help me improve...? | "Could you help me improve this prompt?" |
| Role-Playing สวมบทบาท |
Would you act as...? | "Would you act as my English teacher and correct my writing?" |
🎯 สรุป
Summary
🇹🇭 สิ่งที่คุณได้เรียนรู้
- Prompt Engineering คืออะไรและทำไมถึงสำคัญ
- คำศัพท์สำคัญ: prompt, instruction, context, role, temperature, output
- Polite Requests: Could you / Would you / Can you + base verb (V1)
- หลัก 5 ข้อของ prompt ที่ดี: ชัดเจน เจาะจง มีบริบท กำหนดรูปแบบ สุภาพ
- วิธีเขียน prompt template สำหรับงานต่างๆ
🇬🇧 What You Have Learned
- What prompt engineering is and why it matters
- Key vocabulary: prompt, instruction, context, role, temperature, output
- Polite Requests: Could you / Would you / Can you + base verb (V1)
- 5 rules for good prompts: clear, specific, context, format, polite
- How to use prompt templates for different tasks
🎉 ยินดีด้วย! / Congratulations!
คุณได้เรียนรู้พื้นฐาน Prompt Engineering แล้ว!
You have learned the basics of Prompt Engineering! Now you can write clear, specific, and polite prompts to get the best answers from AI! ✍️