📝 AI Text Generation — การสร้างข้อความด้วย AI

Learn How AI Generates Text and How to Use It — เรียนรู้วิธีที่ AI สร้างข้อความและวิธีใช้งาน

Week 3 · Reported Speech (AI said that...) · AI Text Generation

🎯 AI Text Generation คืออะไร?
What is AI Text Generation?

🇹🇭 ภาษาไทย

AI Text Generation คือความสามารถของ AI ในการสร้างข้อความต่างๆ เช่น อีเมล เรื่องสั้น บทสรุป บทกวี และอื่นๆ อีกมากมาย


AI สามารถเขียนได้หลายรูปแบบ ทั้ง ทางการ (formal) และ ไม่เป็นทางการ (informal) สามารถปรับน้ำเสียง (tone) ตามที่คุณต้องการ


คุณสามารถใช้ AI เพื่อ ร่าง (draft) ข้อความ สรุป (summarize) บทความยาว ถอดความ (paraphrase) ประโยค และ ตรวจทาน (proofread) งานเขียนของคุณ

🇬🇧 English

AI Text Generation is the ability of AI to create various types of text such as emails, stories, summaries, poems, and much more.


AI can write in many styles, both formal and informal. It can adjust the tone to match what you need.


You can use AI to draft messages, summarize long articles, paraphrase sentences, and proofread your writing.

🌟 Fun Facts about AI Writing — ข้อเท็จจริงน่าสนใจเกี่ยวกับการเขียนของ AI

  • AI can write a 500-word essay in under 10 seconds! — AI เขียนเรียงความ 500 คำได้ในไม่ถึง 10 วินาที!
  • GPT-4 has passed the bar exam and written poetry — GPT-4 สอบผ่านข้อสอบทนายและเขียนบทกวีได้
  • AI-generated text is used in over 50% of marketing emails worldwide — ข้อความที่ AI สร้างถูกใช้ในอีเมลการตลาดกว่า 50% ทั่วโลก
  • The first AI-written novel was published in Japan in 2016 — นิยายที่ AI เขียนเล่มแรกตีพิมพ์ในญี่ปุ่นปี 2016
  • AI can write in over 100 languages, including Thai! — AI เขียนได้มากกว่า 100 ภาษา รวมถึงภาษาไทย!

🇹🇭 ทำไมต้องเรียน AI Text Generation?

  • ช่วยเขียนอีเมลภาษาอังกฤษอย่างมืออาชีพ
  • สรุปบทความยาวให้สั้นและเข้าใจง่าย
  • ฝึกเขียนภาษาอังกฤษโดยให้ AI ตรวจทาน
  • สร้างสรรค์เรื่องราวและงานเขียนที่น่าสนใจ

🇬🇧 Why Learn AI Text Generation?

  • Write professional English emails with AI help
  • Summarize long articles into short, easy-to-read text
  • Practice English writing with AI proofreading
  • Create interesting stories and creative writing

🧪 Section Check — ตรวจสอบความเข้าใจ

Test your understanding of AI text generation — ทดสอบความเข้าใจเกี่ยวกับการสร้างข้อความด้วย AI

0/3

AI Text Generation is the ability of AI to create various types of ___ such as emails, stories, and summaries.

AI Text Generation คือความสามารถของ AI ในการสร้าง ___ ต่างๆ เช่น อีเมล เรื่องสั้น และบทสรุป

images
text
music
✅ AI Text Generation creates text — written content like emails, stories, summaries, and poems. — AI Text Generation สร้าง "ข้อความ" (text) ซึ่งรวมถึงอีเมล เรื่องสั้น บทสรุป และบทกวี

The teacher said: "AI can write in many styles." — In reported speech, this becomes: The teacher said that AI ___ write in many styles.

ครูพูดว่า: "AI can write in many styles." — ในรูป reported speech จะเป็น: The teacher said that AI ___ write in many styles.

could
can
will
✅ In reported speech, "can" changes to "could". The teacher said that AI could write in many styles. — ใน reported speech, "can" เปลี่ยนเป็น "could"

Which of these is NOT something AI text generation can do?

ข้อใดไม่ใช่สิ่งที่ AI text generation ทำได้?

Write formal emails
Summarize long articles
Physically print documents
Paraphrase sentences
✅ AI can write emails, summarize, and paraphrase, but it cannot physically print documents — that requires a printer! AI creates digital text. — AI เขียนอีเมล สรุป และถอดความได้ แต่ไม่สามารถ "พิมพ์เอกสารจริง" ได้ ต้องใช้เครื่องพิมพ์!

📚 คำศัพท์สำคัญ
Key Vocabulary

✍️ Generate
สร้าง / ผลิต
To create or produce text, images, or other content using AI.
การสร้างหรือผลิตข้อความ รูปภาพ หรือเนื้อหาอื่นๆ โดยใช้ AI
📝 Text Generation
การสร้างข้อความ
The process of AI creating written content based on your prompt.
กระบวนการที่ AI สร้างเนื้อหาที่เขียนขึ้นตามคำสั่งของคุณ
🎨 Creative Writing
การเขียนเชิงสร้างสรรค์
Writing that uses imagination, such as stories, poems, and songs.
การเขียนที่ใช้จินตนาการ เช่น เรื่องสั้น บทกวี และเพลง
📋 Summarize
สรุป
To make a long text shorter while keeping the main ideas.
ทำให้ข้อความยาวสั้นลงโดยรักษาใจความสำคัญไว้
🔄 Paraphrase
ถอดความ / เขียนใหม่
To rewrite something using different words but keeping the same meaning.
เขียนใหม่โดยใช้คำที่ต่างกันแต่ความหมายเดิม
🎭 Tone
น้ำเสียง / โทน
The feeling or attitude expressed in writing — friendly, serious, funny, etc.
ความรู้สึกหรือทัศนคติที่แสดงออกในงานเขียน เช่น เป็นมิตร จริงจัง ตลก
👔 Formal
ทางการ / เป็นทางการ
A polite, professional style of writing used in business and official situations.
รูปแบบการเขียนที่สุภาพและเป็นมืออาชีพ ใช้ในธุรกิจและสถานการณ์ทางการ
😊 Informal
ไม่เป็นทางการ
A casual, relaxed style of writing used with friends and family.
รูปแบบการเขียนที่สบายๆ ผ่อนคลาย ใช้กับเพื่อนและครอบครัว
🔍 Proofread
ตรวจทาน / พิสูจน์อักษร
To read text carefully to find and fix errors in spelling, grammar, and punctuation.
อ่านข้อความอย่างละเอียดเพื่อหาและแก้ไขข้อผิดพลาดทางตัวสะกด ไวยากรณ์ และเครื่องหมายวรรคตอน
✏️ Edit
แก้ไข / ปรับปรุง
To make changes to text to improve its quality, clarity, or correctness.
ทำการเปลี่ยนแปลงข้อความเพื่อปรับปรุงคุณภาพ ความชัดเจน หรือความถูกต้อง
📄 Draft
ร่าง / ฉบับร่าง
A first version of a text that is not yet finished — it will be improved later.
เวอร์ชันแรกของข้อความที่ยังไม่เสร็จสมบูรณ์ จะถูกปรับปรุงภายหลัง
🔁 Revision
การแก้ไข / การปรับปรุง
The process of reviewing and improving a draft to make it better.
กระบวนการทบทวนและปรับปรุงฉบับร่างให้ดียิ่งขึ้น

🧪 Section Check — ตรวจสอบความเข้าใจ

Match the vocabulary to its correct definition — จับคู่คำศัพท์กับคำจำกัดความที่ถูกต้อง

0/3

To ___ means to rewrite something using different words but keeping the same meaning.

คำว่า ___ หมายถึงการเขียนใหม่โดยใช้คำที่ต่างกันแต่ความหมายเดิม

summarize
proofread
paraphrase
edit
Paraphrase means to rewrite using different words with the same meaning. "Summarize" means to make shorter. "Proofread" means to check for errors. — "Paraphrase" คือถอดความ "Summarize" คือสรุป "Proofread" คือตรวจทาน

The ___ is the feeling or attitude expressed in writing, such as friendly, serious, or funny.

___ คือความรู้สึกหรือทัศนคติที่แสดงออกในงานเขียน เช่น เป็นมิตร จริงจัง หรือตลก

tone
draft
format
Tone is the feeling or attitude in writing — formal, informal, friendly, serious, humorous, etc. — "Tone" คือน้ำเสียงหรือทัศนคติในงานเขียน เช่น ทางการ ไม่เป็นทางการ เป็นมิตร จริงจัง ตลก

A ___ is a first version of a text that is not yet finished and will be improved later.

___ คือเวอร์ชันแรกของข้อความที่ยังไม่เสร็จสมบูรณ์ จะถูกปรับปรุงภายหลัง

revision
draft
output
✅ A draft is a first version that will be improved later. A "revision" is the process of improving the draft. — "Draft" คือฉบับร่างแรก "Revision" คือกระบวนการปรับปรุงฉบับร่าง

📖 ไวยากรณ์ในบริบท AI
Grammar in Context: Reported Speech

🔤 Reported Speech: Direct → Indirect

Reported Speech (ประโยคบอกเล่า/คำพูดทางอ้อม) ใช้เมื่อเราต้องการเล่าสิ่งที่คนอื่น (หรือ AI) พูด โดยไม่ต้องอ้างคำพูดโดยตรง

รูปแบบ: Subject + said (that) + clause (เปลี่ยน tense ถอยหลังหนึ่งขั้น)

Direct Speech = คำพูดโดยตรง (ใส่เครื่องหมายคำพูด) | Indirect/Reported Speech = คำพูดทางอ้อม (ไม่ใส่เครื่องหมายคำพูด)

Direct: The AI said: "I can help you write an email."

Reported: The AI said that it could help me write an email.

AI บอกว่ามันสามารถช่วยฉันเขียนอีเมลได้

Direct: The chatbot said: "I will generate the text for you."

Reported: The chatbot said that it would generate the text for me.

แชทบอทบอกว่ามันจะสร้างข้อความให้ฉัน

Direct: My teacher said: "AI is a useful tool."

Reported: My teacher said that AI was a useful tool.

ครูของฉันบอกว่า AI เป็นเครื่องมือที่มีประโยชน์

Direct: She said: "I have finished the draft."

Reported: She said that she had finished the draft.

เธอบอกว่าเธอเขียนฉบับร่างเสร็จแล้ว

❌ The AI said that it can help me.✅ The AI said that it could help me.

ต้องเปลี่ยน tense ถอยหลังหนึ่งขั้น: can → could

🔄 Tense Changes in Reported Speech — การเปลี่ยน Tense

เมื่อเปลี่ยนจาก direct เป็น reported speech ต้อง ถอย tense หลังหนึ่งขั้น:

Direct Speech Reported Speech ตัวอย่าง / Example
Present Simple (is, write) Past Simple (was, wrote) "AI is useful" → AI was useful
Present Continuous (is writing) Past Continuous (was writing) "AI is generating" → AI was generating
Present Perfect (has written) Past Perfect (had written) "I have finished" → I had finished
Past Simple (wrote) Past Perfect (had written) "I wrote an email" → I had written an email
can could "I can help" → I could help
will would "I will generate" → I would generate

💡 Grammar Tip — เคล็ดลับไวยากรณ์

Thai: Reported Speech ใช้ "said that" หรือ "told me that" — "said" ไม่ต้องมี object, "told" ต้องมี object (told me / told her)

English: Use "said that" (no object needed) or "told me that" (object required). "The AI said that..." vs. "The AI told me that..."

🇹🇭 การเปลี่ยนคำสรรพนาม

  • Ihe/she/it — "I can help" → he said he could help
  • myhis/her/its — "my draft" → his draft
  • youme/I — "for you" → for me
  • wethey — "we will" → they would
  • thisthat — "this text" → that text

🇬🇧 Pronoun Changes

  • Ihe/she/it — "I can help" → said it could help
  • myhis/her/its — "my draft" → its draft
  • youme/I — "for you" → for me
  • wethey — "we will" → they would
  • thisthat — "this text" → that text

🧪 Section Check — ตรวจสอบความเข้าใจ

Convert direct speech to reported speech — เปลี่ยนคำพูดโดยตรงเป็นคำพูดทางอ้อม

0/3

Direct: The AI said: "I can help you write an email." — Reported: The AI said that it ___ help me write an email.

คำพูดตรง: AI พูดว่า: "I can help you write an email." — คำพูดทางอ้อม: AI บอกว่ามัน ___ ช่วยฉันเขียนอีเมลได้

can
could
will
✅ In reported speech, "can" becomes "could". Also notice "you" changes to "me" and "I" changes to "it." — ใน reported speech, "can" เปลี่ยนเป็น "could" และ "you" เปลี่ยนเป็น "me", "I" เปลี่ยนเป็น "it"

Direct: She said: "I have finished the draft." — Reported: She said that she ___ the draft.

คำพูดตรง: เธอพูดว่า: "I have finished the draft." — คำพูดทางอ้อม: เธอบอกว่าเธอ ___ ฉบับร่าง

has finished
have finished
had finished
✅ In reported speech, present perfect "have finished" becomes past perfect "had finished". The tense shifts back one step. — ใน reported speech, present perfect "have finished" เปลี่ยนเป็น past perfect "had finished" ถอย tense หลังหนึ่งขั้น

Direct: The chatbot said: "I will generate the text for you." — Reported: The chatbot said that it ___ generate the text for me.

คำพูดตรง: แชทบอทพูดว่า: "I will generate the text for you." — คำพูดทางอ้อม: แชทบอทบอกว่ามัน ___ สร้างข้อความให้ฉัน

will
would
could
✅ In reported speech, "will" becomes "would". Also "I" changes to "it" and "you" changes to "me." — ใน reported speech, "will" เปลี่ยนเป็น "would" และ "I" เปลี่ยนเป็น "it", "you" เปลี่ยนเป็น "me"

🚀 เริ่มต้นใช้งาน
Getting Started: Using AI to Generate Text

🇹🇭 ประเภทข้อความที่ AI สร้างได้

  • อีเมลทางการและไม่เป็นทางการ
  • เรื่องสั้นและบทกวี
  • บทสรุปของบทความยาว
  • ข้อความถอดความ (paraphrase)
  • รายงาน จดหมาย และอื่นๆ

🇬🇧 Types of Text AI Can Generate

  • Formal and informal emails
  • Short stories and poems
  • Summaries of long articles
  • Paraphrased text
  • Reports, letters, and more

1เขียนอีเมลทางการ — Generate a Formal Email

เริ่มจากให้ AI สร้างอีเมลทางการ ระบุวัตถุประสงค์ ผู้รับ และรายละเอียดที่ต้องการ
English: Start by asking AI to generate a formal email. Specify the purpose, recipient, and details you need.
// Generate a formal email — สร้างอีเมลทางการ "Please write a formal email to my teacher asking for a deadline extension. My name is Somchai. The assignment is due on Friday but I need until Monday."

2สรุปข้อความ — Summarize Text

ให้ AI สรุปข้อความยาวให้สั้นลง ระบุจำนวนประโยคที่ต้องการ
English: Ask AI to summarize long text into a shorter version. Specify how many sentences you want.
// Summarize text — สรุปข้อความ "Please summarize this paragraph in 2 sentences: [paste your long text here]"

3ถอดความ — Paraphrase Text

ให้ AI เขียนข้อความใหม่โดยใช้คำที่ต่างกันแต่ความหมายเดิม เหมาะสำหรับฝึกเขียนภาษาอังกฤษ
English: Ask AI to paraphrase text — rewrite it using different words but keeping the same meaning. Great for English practice!
// Paraphrase — ถอดความ "Please paraphrase this sentence in simpler English: 'Artificial Intelligence has revolutionized the way humans interact with technology.'"

4ปรับน้ำเสียง — Change the Tone

ลองให้ AI เขียนข้อความเดียวกันในน้ำเสียงต่างกัน เช่น ทางการ เป็นกันเอง ตลก
English: Try asking AI to write the same message in different tones — formal, friendly, humorous!
// Change tone — ปรับน้ำเสียง "Rewrite this message in a formal tone: 'Hey! Can you help me with my homework?'" "Rewrite this message in a friendly, casual tone: 'I am writing to request your assistance with my assignment.'"

5ฝึก Reported Speech กับ AI — Practice Reported Speech with AI

ให้ AI สร้างข้อความ แล้วฝึกเปลี่ยนเป็น reported speech!
English: Let AI generate text, then practice converting it to reported speech!
// Practice Reported Speech with AI text "The AI said: 'I can write an email for you.'" // → The AI said that it could write an email for me. "The chatbot told me: 'I will summarize your text.'" // → The chatbot told me that it would summarize my text. // Ask AI to help you practice! "Give me 5 direct speech sentences about AI writing. I will practice converting them to reported speech."

💡 Pro Tip — เคล็ดลับมือโปร

Thai: ลองบอก AI ว่า "Please give me a sentence in direct speech about text generation, and I will change it to reported speech. Then check my answer." AI จะช่วยฝึกได้ดีมาก!

English: Tell AI: "Please give me a sentence in direct speech about text generation, and I will change it to reported speech. Then check my answer." AI will help you practice effectively!

🧪 Section Check — ตรวจสอบความเข้าใจ

Test your knowledge of AI text generation and reported speech — ทดสอบความรู้เรื่องการสร้างข้อความด้วย AI และ reported speech

0/2

You want AI to rewrite a casual message in a professional style. Which prompt is best?

คุณต้องการให้ AI เขียนข้อความแบบสบายๆ ใหม่ในรูปแบบมืออาชีพ Prompt ไหนดีที่สุด?

"Write something formal."
"Rewrite this message in a formal tone: 'Hey! Can you help me with my homework?'"
"Make it better."
✅ The best prompt is specific: it tells AI what to do (rewrite), specifies the tone (formal), and includes the original text. The others are too vague. — Prompt ที่ดีที่สุดต้องเจาะจง: บอก AI ว่าต้องทำอะไร (rewrite) ระบุโทน (formal) และแนบข้อความต้นฉบับ

Your friend told you: "The AI said: 'I am generating your summary.'" — How would you report this? The AI said that it ___ generating my summary.

เพื่อนบอกคุณว่า: "The AI said: 'I am generating your summary.'" — คุณจะรายงานอย่างไร? AI บอกว่ามัน ___ สร้างบทสรุปให้ฉัน

is
was
has been
✅ Present continuous "I am generating" becomes past continuous "it was generating" in reported speech. Also "I" → "it" and "your" → "my." — Present continuous "am generating" เปลี่ยนเป็น past continuous "was generating" และ "I" → "it", "your" → "my"

🛠️ โปรเจกต์ลงมือทำ
Hands-On Project: Write a Bilingual Email

📧

Write a Bilingual Email with AI — เขียนอีเมลสองภาษาด้วย AI 🌱 Easy

เป้าหมาย: ใช้ AI เพื่อเขียนอีเมลเป็นภาษาอังกฤษและภาษาไทย แล้วฝึกรายงานสิ่งที่ AI เขียนโดยใช้ reported speech

ทำตามขั้นตอนด้านล่าง แล้วบันทึกผลลัพธ์

Goal: Use AI to write an email in both English and Thai, then practice reporting what AI wrote using reported speech.

Follow the steps below and record your results.

// Step 1: Ask AI to write a formal email "Write a formal email in English from a Thai student to a university asking about an AI course. Include: greeting, question about the course, request for more information, and polite closing." // Step 2: Ask for Thai translation "Now translate this email to Thai." // Step 3: Practice Reported Speech // After AI writes the email, report what it said: // "The AI said that the student should start with a greeting." // "The AI told me that a formal email needed a polite closing." // "The AI said that it could help me write professional emails." // Step 4: Ask AI to check YOUR reported speech "I wrote these reported speech sentences about what you said. Please check if they are correct: 1. The AI said that it can help me. 2. The AI told me that I should be polite. 3. You said that formal emails needs a greeting."

⚠️ Remember / จำไว้นะ

Thai: AI สร้างข้อความได้ดี แต่ควรตรวจทานเสมอ! อย่าส่งอีเมลสำคัญโดยไม่ตรวจก่อน

English: AI generates good text, but always proofread! Don't send important emails without checking first.

📊 คู่มือ Prompt สำหรับการสร้างข้อความ
Text Generation Prompts Reference

Task / งาน Prompt Example / ตัวอย่าง Prompt Thai / ภาษาไทย
Write an email "Write a formal email to [person] about [topic]." เขียนอีเมลทางการถึง [คน] เกี่ยวกับ [หัวข้อ]
Summarize text "Summarize this in [X] sentences: [text]" สรุปข้อความนี้ใน [X] ประโยค
Paraphrase "Paraphrase this in simpler English: [text]" ถอดความนี้เป็นภาษาอังกฤษง่ายๆ
Change tone "Rewrite this in a [formal/informal] tone: [text]" เขียนใหม่ในโทน [ทางการ/ไม่ทางการ]
Write a story "Write a short story about [topic] in [X] words." เขียนเรื่องสั้นเกี่ยวกับ [หัวข้อ] ใน [X] คำ
Proofread "Proofread this and fix grammar errors: [text]" ตรวจทานและแก้ไวยากรณ์ให้
Create a draft "Write a first draft of [type of text] about [topic]." เขียนฉบับร่างของ [ประเภท] เกี่ยวกับ [หัวข้อ]
Translate "Translate this to [language]: [text]" แปลข้อความนี้เป็น [ภาษา]

🎯 สรุป
Summary

🇹🇭 สิ่งที่คุณได้เรียนรู้

  • AI Text Generation คืออะไรและใช้งานอย่างไร
  • คำศัพท์สำคัญ: generate, summarize, paraphrase, tone, draft, revision
  • Reported Speech: เปลี่ยน direct เป็น indirect speech
  • การเปลี่ยน tense: can→could, will→would, is→was
  • การใช้ AI เพื่อสร้างอีเมล เรื่องสั้น และบทสรุป

🇬🇧 What You Have Learned

  • What AI text generation is and how to use it
  • Key vocabulary: generate, summarize, paraphrase, tone, draft, revision
  • Reported Speech: converting direct to indirect speech
  • Tense changes: can→could, will→would, is→was
  • Using AI to create emails, stories, and summaries

🎉 ยินดีด้วย! / Congratulations!

คุณได้เรียนรู้การสร้างข้อความด้วย AI แล้ว!

You have learned about AI text generation! The chatbot said that it could help you write — and now you know how to use it! 📝