NHT
Field notes

Blog

Practical notes on backend architecture, frontend SEO, and deployment work from real product builds.

5

Categories

22

Articles

188 min

Read time

AIRAGEmbeddings

Chunking Strategies That Actually Improve RAG

Fixed, recursive, and semantic chunking compared on the same corpus — with the recall numbers that show why splitting documents well matters more than your embedding model.

Nguyen Hoang TuanNguyen Hoang TuanJun 26, 20269 min read
Read article
AIpgvectorPostgreSQL

Storing & Querying Embeddings in PostgreSQL

Add pgvector to an existing Postgres, store embeddings alongside your relational data, and run fast similarity queries — schema, index, and SQL included.

Nguyen Hoang TuanNguyen Hoang TuanJun 24, 20268 min read
Read article
AIRAGNode.js

Building RAG From Scratch in Node.js

Build a working Retrieval-Augmented Generation pipeline in Node.js — ingest, embed, retrieve, prompt — no framework, just the moving parts explained with real code.

Nguyen Hoang TuanNguyen Hoang TuanJun 23, 202610 min read
Read article
DockerNestJSDeploy

Dockerizing a NestJS App for Production

A production-focused guide to Dockerizing a NestJS app with multi-stage builds, environment configuration, health checks, CI/CD, and deployment readiness.

Nguyen Hoang TuanNguyen Hoang TuanMay 24, 20268 min read
Read article