> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmumoodle-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmumoodle-manual/quiz/creating-quiz/question-type/essay.md).

# Essay (พิมพ์คำตอบที่มีความยาว หรือ ตอบแบบเรียงความ)

คำถามประเภทเรียงความนี้ให้ตัวเลือกกับผู้เรียนในการตอบโดยสามารถอัปโหลดไฟล์ หรือจะตอบข้อความแบบออนไลน์ก็ได้  วิธีสร้างคำถามประเภทเรียงความมีลักษณะการสร้าง คล้ายกับการสร้างคำถามในรูปแบบอื่นๆ โดยมีความแตกต่างก็คือคำถามแบบเรียงความจะต้องมีผู้ทำการตรวจและให้คะแนน ต่างกับแบบอื่นที่ระบบสามารถตรวจคำตอบและให้คะแนนได้ทันที

![](/files/-MjYNMVb4eppVmoxD97U)

### การตั้งค่าเพิ่มเติม

ท่านสามารถตั้งค่าเมนู **Response options**

**Response format** **:** HTML editor, HTML editor with file picker, **Plain text**, Plain text monospace font, No online text โดยรูปแบบที่เป็นที่นิยมมากที่สุดคือรูปแบบ Plain Text  ทั้งนี้ท่านสามารถเลือกรูปแบบที่เหมาะสมกับคำถามของท่านเองได้เลย

**Require text :** Require the student to enter text (บังคับกรอกข้อความ) หรือ Text input is optional (ไม่บังคับกรอกข้อความ)

**Input box size :** สามารถเลือกได้ตั้งแต่ 5 - 40 lines (บรรทัด)&#x20;

**Allow attachments :** อนุญาตให้มีการแนบไฟล์ หากท่านอนุญาตให้แนบไฟล์ จะสามารถเลือกเพิ่มเติมได้ว่าจะให้แนบไฟล์ได้ตั้งแต่ 1 - 3 ครั้ง หรือกระทั่งแบบไม่จำกัดครั้ง(ยึดครั้งสุดท้ายเป็นหลัก)

**Require attachments :** การบังคับให้มีการแนบไฟล์

**Accepted file types** : การกำหนดชนิดหรือนามสกุลไฟล์ที่แนบ

![](/files/-MjYOK7gRuAU0w9b0qHU)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tlic.cmu.ac.th/cmumoodle-manual/quiz/creating-quiz/question-type/essay.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
