← บันทึกการใช้งาน

draft · ok

2026-10-14 21:27:50 · เครื่อง 127.0.0.1 · งาน #7 · 17.3 วินาที

คำขอ / คำสั่ง

EHP-XE-FORM-OPD-STICKER-B--00952 
copy มาเป็น ....-12345

รายละเอียด

{
 "check": [],
 "error": null,
 "hits": [
  "EHP-XE-FORM-OPD-STICKER-B--00952",
  "EHP-XE-RCPT-FORM-OPD--00057"
 ],
 "kind": "form",
 "notes": [
  "\u0e15\u0e49\u0e19\u0e41\u0e1a\u0e1a: EHP-XE-FORM-OPD-STICKER-B--00952 (\u0e01\u0e23\u0e30\u0e14\u0e32\u0e29 85x60 mm)"
 ],
 "sql": "select doctor_order_print.*,\r\ndrugitems.name_print,\r\ndrugitems.thai_name,\r\ndrugitems.therapeutic,\r\ndrugitems.precaution_advice_text,\r\ndrughint.hinttext,\r\ndrugitems.light_protect,\r\ndrugitems.show_pregnancy_alert,\r\n(select advice_text from drugitems_advice where icode = doctor_order_print.icode limit 1) as advice_text,\r\nconcat(COALESCE(drugitems.name,\u0027\u0027),\u0027 \u0027,COALESCE(drugitems.strength,\u0027\u0027),\u0027 \u0027,COALESCE(drugitems.units,\u0027\u0027)) as drugitems_name,\r\ndrugitems.tmt_tp_code ,\r\ndrugitems.units,\r\nspecial_advice_text\r\nfrom doctor_order_print \r\njoin drugitems on drugitems.icode = doctor_order_print.icode\r\nleft join drughint on drughint.hc = drugitems.hintcode \r\nwhere vn = :vn\r\nand doctor_order_print.print_mode = \u00272\u0027\r\n"
}

prompt ที่ส่งให้ AI (2 ครั้ง ใน 3 นาทีก่อนหน้า)

2026-10-14 21:27:34 · rerank · 0.4 วินาที · prompt 504 ตัวอักษร

messages

[{"role": "system", "content": "เลือกรายงานที่ตรงกับคำขอที่สุด ตอบเป็นเลขลำดับ"}, {"role": "user", "content": "คำขอ: EHP-XE-FORM-OPD-STICKER-B--00952 \ncopy มาเป็น ....-12345\n0. EHP-XE-RCPT-FORM-OPD--00057 — ใบเสร็จรับเงินสาธารณสุขนครปฐม\n1. EHP-XE-FORM-OPD-STICKER-B--00952 — 85x60 : โรงพยาบาลส่งเสริมสุขภาพตำบลคลองด่าน หมู่ที่ 1\n2. EHP-XE-DEBT-FORM-OPD — ใบแจ้งหนี้\n3. EHP-XE-RCPT-FORM-OPD — ใบเสร็จรับเงิน\n4. WWW-XE-FORM-APPOINTMENT-ใบนัดวัคซีน PCEC (แบบ ID)(A5) — ใบนัดวัคซีน PCEC (แบบ ID)(A5)"}]

คำตอบ

{"best": 1}
2026-10-14 21:26:04 · rerank · 0.4 วินาที · prompt 520 ตัวอักษร

messages

[{"role": "system", "content": "เลือกรายงานที่ตรงกับคำขอที่สุด ตอบเป็นเลขลำดับ"}, {"role": "user", "content": "คำขอ: สติ๊กเกอร์ยา\n0. EHP-XE-FORM-StickerOPD — Sticker ผู้ป่วยนอก\n1. EHP-XE-FORM-StickerOPD — Sticker ผู้ป่วยนอก\n2. EHP-XE-FORM-OPD-STICKER-B--00952 — 85x60 : โรงพยาบาลส่งเสริมสุขภาพตำบลคลองด่าน หมู่ที่ 1\n3. EHP-XE-FORM-OPD-STICKER-B--00987 — 90x70 : โรงพยาบาลส่งเสริมสุขภาพตำบลเมืองใหม่บางพลี\n4. EHP-XE-FORM-OPD-STICKER-B--01009 — 85x60 : โรงพยาบาลส่งเสริมสุขภาพตำบลพระยาอนุบาลดิตถกรรม (เสน โกศะโยดม)"}]

คำตอบ

{"best": 0}