Skip to main content

OpenThai 2.0 Legal

Chat completions on OpenThai 2.0 Legal: answers grounded in the 2,065 Thai laws of its retrieval index, returned with the sections they rest on and checked before they reach you; OpenAI-compatible.

POST/v3/llm/openthai2p0-legal/chat/completionsTry it

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: []

Every field, under Response

Request​

Response​

Details​

© 2026 iApp Technology Co., Ltd.TermsPrivacyStatussale@iapp.co.th