TH
สร้าง AI Chat Widget ฝังหน้าเว็บไซต์ และเชื่อมต่อ LINE OA / MS Teams จากฐานข้อมูลจริง
สถาปัตยกรรม Dual-UI และระบบจัดการ Multi-Widget ของ OrgAI ช่วยให้องค์กรสร้าง AI Chat Widget แยกอิสระฝังบนเว็บไซต์ภายนอก หรือเชื่อมกับ LINE Official Account (LINE OA) และ MS Teams โดยดึงข้อมูลจากเอกสารและฐานข้อมูลจริง
สถาปัตยกรรม Dual-UI & Modular Inheritance ยืดหยุ่นสูงสุดสำหรับองค์กร:
แต่ละช่องทางเป็นวิดเจ็ตอิสระ สืบทอดจากพื้นที่ทำงานหลักได้เท่าที่ต้องการ แล้วกำหนดการเชื่อมต่อ เอกสาร กฎพฤติกรรม และโควตาของตัวเอง โดยไม่ไปเปลี่ยนช่องทางอื่น
1. การเชื่อมต่อฐานข้อมูล (Database Connection)
เลือกระหว่าง Inherit Master DB เพื่อใช้การเชื่อมต่อหลักขององค์กร หรือต่อ Custom Connection เฉพาะช่องทางนั้น เมื่อต้องการแยกฐานข้อมูลที่เปิดให้ลูกค้าสอบถาม ออกจากฐานข้อมูลภายใน
2. ขอบเขตเอกสาร (File Scope)
กำหนดโหมด
NONEเมื่อช่องทางนี้ไม่ใช้เอกสาร, โหมดPRIMARYเมื่อใช้ชุดเอกสารหลักที่อนุญาต หรือโหมดCUSTOMเมื่อเลือกเฉพาะไฟล์คู่มือที่เปิดเผยได้3. กฎพฤติกรรมแยกอิสระ (Guardrails & Behavior Rules)
แต่ละช่องทางมีกฎของตัวเอง เช่น สั่งจับคำสั่งทางธุรกิจ เมื่อผู้ใช้พิมพ์ชื่อ-ที่อยู่-เบอร์โทรผ่าน LINE OA ถือเป็นการสั่งซื้อทันที โดยไม่เปลี่ยนพฤติกรรมของวิดเจ็ตบนเว็บไซต์
4. ความปลอดภัยและโควตา (Token Quotas & Domain Whitelist)
คุมเพดาน Token รายเดือนแยกตามวิดเจ็ต เมื่อถึงเพดานช่องทางนั้นจะหยุดตอบ และล็อกเฉพาะโดเมนที่อนุญาตให้นำ Widget ไปฝัง โดเมนนอกบัญชีขาวจะเรียกใช้สคริปต์ไม่ได้
เปรียบเทียบช่องทาง
ทั้งสามช่องทางใช้สถาปัตยกรรมเดียวกัน ต่างกันที่วิธีรับข้อความและกฎที่ล็อกไว้กับช่องทางนั้น
| ช่องทาง | การเชื่อมต่อ | แหล่งคำตอบ | การควบคุม |
|---|---|---|---|
| Web Chat Widget | ฝังสคริปต์บนเว็บไซต์ภายนอก | เอกสารและฐานข้อมูลตาม Database Connection และ File Scope ของวิดเจ็ตนั้น | Domain Whitelist ล็อกโดเมนที่อนุญาต และคุมเพดาน Token รายเดือน |
| LINE OA (Messaging API Webhook) | รับข้อความผ่าน LINE Messaging API Webhook | ชุดความรู้ของช่องทาง LINE ซึ่งแยกขอบเขตจากวิดเจ็ตบนเว็บได้ | Guardrails จับชื่อ-ที่อยู่-เบอร์โทรให้ถือเป็นการสั่งซื้อทันที |
| Microsoft Teams | บอทในแชนเนลและแชตขององค์กร | ดึงคำตอบจากเอกสารและฐานข้อมูลจริงผ่านการเชื่อมต่อชุดเดียวกัน | ใช้ในทีมภายใน พร้อมกฎพฤติกรรมและโควตา Token แยกจากช่องทางสาธารณะ |
คำถามที่พบบ่อย
การฝังหน้าเว็บสาธารณะ ข้อมูลภายในจะหลุดหรือไม่
ไม่หลุด เพราะล็อกขอบเขตไฟล์ระดับเซิร์ฟเวอร์ วิดเจ็ตที่ฝังบนหน้าเว็บสาธารณะตอบได้เฉพาะเอกสารใน File Scope ของช่องทางนั้น คือโหมด NONE, PRIMARY หรือ CUSTOM ไฟล์ภายในที่ไม่ได้เปิดไว้จะไม่ถูกส่งให้โมเดล และโดเมนที่ไม่อยู่ใน Domain Whitelist จะฝัง Widget ไม่ได้
EN
Embeddable AI Chat Widgets & Omnichannel LINE OA / MS Teams Integration
OrgAI uses a Dual-UI Architecture and a Modular Inheritance Pattern to deploy domain-whitelisted chat widgets and LINE Official Account integrations. Each widget inherits the master workspace, then keeps its own database binding, knowledge scope, persona, and monthly token cap. The same pattern connects Microsoft Teams. Answers come from the documents and live database records assigned to that channel, not from an open copy of the internal systems.
Modular inheritance modules
A channel takes only the modules it needs. Changing one widget does not rewrite the master workspace or the other channels.
Database binding
Bind the widget to the master connection, or attach a custom connection used only by that channel when customer-facing questions must stay off the internal database.
Business data mappings
Map operational records such as orders, repair jobs, and stock items so the channel reads live values. A LINE OA conversation can check a job or a stock balance without opening the back office.
Scoped knowledge sources
Choose
NONEto turn documents off,PRIMARYto use the allowed primary set, orCUSTOMto select only manuals that are safe to expose on that channel.Custom persona guardrails
Keep behavior rules on the channel that needs them. A LINE OA flow can treat a message that contains a name, address, and phone number as an order, while the web widget keeps a different persona.
Monthly token quota caps
Set a monthly token ceiling per widget. Public traffic stops when that cap is reached, so one embed cannot drain the organization's usage. Pair the cap with the domain whitelist so the script runs only on approved hosts.
Channel comparison
| Channel | Connection | Answer source | Control |
|---|---|---|---|
| Web Chat Widget | Embedded script on an external website | Documents and database records from that widget's binding and file scope | Domain whitelist plus a monthly token cap |
| LINE OA (Messaging API Webhook) | Inbound messages through the LINE Messaging API webhook | The LINE channel's own knowledge scope, separate from the web widget when needed | Guardrails can treat a name, address, and phone number as an immediate order |
| Microsoft Teams | A bot in team channels and chats | The same real documents and database records, through that channel's binding | Internal behavior rules and a token quota kept apart from public channels |
Frequently asked questions
How does OrgAI keep a public widget from exposing internal databases?
OrgAI locks file scope and database binding on the server. A public widget answers only from the scope assigned to that channel: NONE, PRIMARY, or CUSTOM. Records outside that scope are not sent to the model, and the embed runs only on domains in the whitelist.
What safeguards limit token consumption on widgets and LINE OA?
Each widget has its own monthly token quota cap. Traffic from a public website or a LINE OA conversation draws on that widget's quota. When the cap is reached, the channel stops answering until the next cycle or an administrator raises the quota.
ปรึกษาการเชื่อมต่อ Omnichannel
ปรึกษาการเชื่อมต่อ Omnichannel กับ Nextio Consult ตรวจสอบ แพ็กเกจราคา
Plan the omnichannel rollout with Nextio Consult, then review pricing.