E-commerce Data Ingestion & Atomic Chunking Pipelines

Prerequisite: Familiarity with the concepts introduced in Part 1 — Golang Orchestration. Review it first if the terminology in this part is unfamiliar. Data Ingestion & Atomic Chunking Product Data: Semantic Catalog Pipelines In general document RAG applications, text splitting divides long articles into arbitrary token chunks (e.g., 512 tokens with 50-token overlap). Applying naive token splitting to e-commerce product catalogs is disastrous. A camera lens catalog page might contain technical specs for three different lens variants (24mm f/1.4, 50mm f/1.2, 85mm f/1.4). Naive character splitting shreds table rows across chunk boundaries, assigning the 24mm lens price to the 85mm lens embedding. ...

June 11, 2026 · 4 min · Lê Tuấn Anh

GraphRAG vs Naive RAG: Enterprise Architecture Guide

GraphRAG vs Naive RAG: Enterprise Architecture Guide Most RAG (Retrieval-Augmented Generation) implementations look the same: chunk documents, embed them into vectors, store them in a vector database, retrieve by cosine similarity, and inject the top-K chunks into the LLM context. This works for simple document Q&A. It fails systematically for enterprise knowledge bases where the answer to a question depends not on a single document chunk, but on the relationships between dozens of interconnected entities. ...

June 1, 2026 · 13 min · Lê Tuấn Anh

Agentic GraphRAG vs Long-Context Window Trade-offs

Prerequisite: Familiarity with the concepts introduced in Executive Summary. Review it first if the terminology in this part is unfamiliar. Part 1 — Agentic GraphRAG vs. Long-Context Window: Architectural Trade-offs Answer-first: Relying exclusively on 1M+ token context windows introduces quadratic latency degradation ($O(N^2)$ attention overhead), severe token cost inflation, and needle-in-a-haystack recall loss. Agentic GraphRAG extracts focused entity subgraphs to achieve 65% faster Time-To-First-Token (TTFT) at less than 10% of the inference cost. ...

May 17, 2026 · 8 min · Lê Tuấn Anh

The Disruption of Naive RAG & Enterprise GraphRAG Era

Executive Summary: The Disruption of Naive RAG and the GraphRAG Era Answer-first: Naive RAG collapses in enterprise environments due to relational blindness, unstructured document chunk destruction, and lack of fine-grained access control. Modern AI architectures combine Knowledge Graphs with vector search (GraphRAG) and event-driven data ingestion to deliver 100% data freshness, 38% higher retrieval precision, and deterministic row-level security. Key Takeaways: 38% Higher Precision: GraphRAG entity-relation traversal resolves multi-hop enterprise queries where vector similarity alone fails. Hybrid Indexing Pattern: Combining HNSW vector indices with property graph databases (Neo4j/Memgraph) yields sub-50ms query resolution. Continuous Evals: Embedding LLM-as-a-Judge CI/CD gates enforces Faithfulness >= 0.85 and Context Precision >= 0.90 prior to production deployment. If you have ever built an internal chatbot for your enterprise by chunking raw markdown or PDF documents, creating dense embeddings with OpenAI text-embedding-3-small, and persisting them into Pinecone, Qdrant, or Milvus, you have inevitably encountered the systemic limitations of Naive RAG (Retrieval-Augmented Generation): ...

May 17, 2026 · 9 min · Lê Tuấn Anh