Skip to content

ตัววางแผน Chunk สำหรับ Embedding

วางแผนการตัดเอกสารเป็น chunk สำหรับ RAG — จำนวน chunk พร้อมการคำนวณ overlap, จำนวนเวกเตอร์ และต้นทุน embedding แยกตามโมเดล

AI & Agents
cosmodev ~/tools/embedding-chunk-planner-
Sample — a 10,000-token document (~40 pages) at these settings:
23 chunks · 11,408 tokens embedded (1,408 overlap overhead)
23 vectors · $0.000228 with text-embedding-3-small

Prices flow from the shared model table (USD per 1M input tokens). All math runs 100% client-side.