เริ่มต้นโดยไม่ต้องซื้อฮาร์ดแวร์ใหม่ ใช้แล็ปท็อปของโรงเรียนที่มีอยู่แล้ว — สร้างฐานความรู้ที่ครูและเจ้าหน้าที่ค้นหาคำตอบจากเอกสาร แผนการสอน และข้อมูลภายในได้ Start without buying any new hardware. On a school laptop you already own, build a local knowledge base that teachers and staff can query across documents, lesson plans, and internal information.
ดาวน์โหลดและติดตั้ง Docker Desktop (ฟรี) สำหรับ OS ของคุณDownload and install Docker Desktop (free) for your OS.
sudo apt-get install docker.io docker-compose-pluginทดสอบว่าใช้งานได้: เปิด Terminal / PowerShell แล้วพิมพ์Verify it works: open Terminal / PowerShell and run
docker run --rm hello-world
docker pull krueng/laptop-kb:latest
ภาพรวม ~5 GB — รวม Ollama, LlamaIndex และโมเดล qwen2.5:3b (multilingual ไทย/อังกฤษ)~5 GB image — bundles Ollama, LlamaIndex, and the qwen2.5:3b model (multilingual Thai/English).
วางไฟล์ PDF, Word, txt ที่อยากให้ AI เข้าถึงในโฟลเดอร์เดียวกัน เช่น C:\krueng-docs หรือ ~/krueng-docsPut PDFs, Word docs, text files in one folder, e.g. C:\krueng-docs or ~/krueng-docs.
ตัวอย่าง: คู่มือนักเรียน นโยบายโรงเรียน แผนการสอน ระเบียบการใช้งาน รายงานประจำปีExamples: student handbook, school policies, lesson plans, regulations, annual reports.
Windows / macOS (Docker Desktop):Windows / macOS (Docker Desktop):
docker run -d --name krueng \ -p 7860:7860 \ -v C:\krueng-docs:/data/docs \ krueng/laptop-kb:latest
Linux:Linux:
docker run -d --name krueng \ -p 7860:7860 \ -v ~/krueng-docs:/data/docs \ krueng/laptop-kb:latest
ไปที่ http://localhost:7860 — หน้าจะแสดงสถานะการสร้างดัชนี (ครั้งแรกใช้เวลา ~3-5 นาทีสำหรับเอกสาร 100 ไฟล์) เมื่อเสร็จก็เริ่มถามได้เลยGo to http://localhost:7860. You'll see indexing status (first run takes ~3-5 min for 100 docs). When it's ready, start asking questions.
ตัวอย่างคำถาม:Sample questions to try:
docker update --restart unless-stopped krueng
เพิ่มเอกสารใหม่: วางในโฟลเดอร์ krueng-docs แล้วรีสตาร์ท container — ระบบจะอัปเดตดัชนีอัตโนมัติTo add new documents: drop them in the krueng-docs folder and restart the container — the index updates automatically.
docker restart krueng
หากต้องการให้นักเรียนใช้พร้อมกันหลายคน, ติวเตอร์ AI พูดได้, สร้างภาพประกอบบทเรียน, หรือ AI พนักงานออฟฟิศประจำโรงเรียน — ต้องขยับเป็น GPU consumer (~฿70,000) หรือ DGX Spark (~฿145,000) For multiple concurrent students, the real-time talking-AI tutor, lesson-illustration image generation, or a dedicated AI office assistant — step up to a consumer GPU (~฿70k) or a DGX Spark (~฿145k).