ข้ามไปยังเนื้อหาหลัก

OpenThai 2.0 Legal

Chat completions บน OpenThai 2.0 Legal ที่ตอบโดยอิงมาตราจากกฎหมายไทย 2,065 ฉบับในดัชนีค้นคืนของโมเดล และส่งมาตราเหล่านั้นกลับมาด้วย โดยตรวจคำตอบก่อนส่งถึงคุณ เข้ากันได้กับ OpenAI

POST/v3/llm/openthai2p0-legal/chat/completionsทดลองใช้

Input

model
openthai2.0-legal
messages
role: user content: ลักทรัพย์ในเวลากลางคืน ผิดมาตราใด
max_tokens
1024

OutputPOST /v3/llm/openthai2p0-legal/chat/completions

id
chatcmpl-...
model
openthai2.0-legal-thaillm-nemotron-3-nano-30b-a3b
choices
message: { role, content }
usage
prompt_tokens: 2874 completion_tokens: 17
rag
true
retrieved_documents
2 × law: ประมวลกฎหมายอาญา section: 335 text: ผู้ใดลักทรัพย์ (๑) ในเวลากลางคืน ... score: 0.9989
answerable
true
answerable_reason
ok
content_modified
—
citations
total: 1 grounded: 1 ungrounded: []

ฟิลด์ทั้งหมดอยู่ในหัวข้อ Response

Request​

Response​

รายละเอียดเพิ่มเติม​

© 2026 iApp Technology Co., Ltd.ข้อกำหนดการใช้งานนโยบายความเป็นส่วนตัวสถานะระบบsale@iapp.co.th