RAG with EF Core and pgvector

How to build RAG retrieval in .NET by storing embeddings in PostgreSQL with pgvector and querying them through EF Core.

May 2, 2026 · 5 min · 1060 words

Stop RAG Hallucinations with the Short-Circuit Pattern

How to reduce RAG hallucinations by short-circuiting generation when retrieval returns weak evidence, with a simple C# threshold check.

March 22, 2026 · 2 min · 316 words

RAG Is a Data Problem Before It’s a Prompt Problem

Why stale documents, weak chunking, and thin metadata usually break RAG before prompt tuning does.

March 9, 2026 · 6 min · 1272 words