Deep dive
RAG vs fine tuning: which failures each one can fix
RAG vs fine tuning compared by failure mode: what each changes, who still sells fine tuning, dated costs worked in code, and when to combine them.
12 min readFine-tuning and training
Giving a model the right documents at the right time. Chunking, embeddings, hybrid search, and how to tell whether retrieval is helping.
RAG vs fine tuning compared by failure mode: what each changes, who still sells fine tuning, dated costs worked in code, and when to combine them.
12 min readFine-tuning and training
What is a vector database, how HNSW and IVF search work, recall measured on generated vectors, and when pgvector or no database is the right choice.
11 min readRAG and retrieval
Context engineering is choosing what a model reads on each call. Size each section, order it for prompt caching, trim inputs, and test every layout change.
11 min readPrompting and context