Aakriti Dhakal
  • Work
  • Blog
  • Notes
  • Tools
Categories
All (3)
AI (3)
Database (2)
pgvector (2)
PostgreSQL (3)
RAG (1)
↑ ↓ navigate ↵ open Esc close / or ⌘K to open

Notes

Writing on AI, ML systems, and software engineering.

Metadata Filtering in RAG Pipelines

RAG
AI
PostgreSQL
pgvector

How to use metadata filters to scope vector similarity search — and why filtering before retrieval beats filtering after.

Nov 1, 2025
2 min

pgvector Indexing: HNSW vs IVFFlat

PostgreSQL
pgvector
AI
Database

When to use HNSW and when to use IVFFlat for vector similarity search in PostgreSQL — and what the tradeoffs actually mean in practice.

Oct 1, 2025
2 min

PostgreSQL Schema Design for AI Applications

PostgreSQL
AI
Database

Patterns for structuring PostgreSQL schemas when your app involves embeddings, vector search, and LLM-generated content.

Sep 1, 2025
2 min
No matching items