RAG and LLM Guides
Retrieval-augmented generation grounds a model's answers in your own documents, and most business AI systems depend on it. These guides cover when to use retrieval or fine-tuning, how chunking, embeddings, hybrid search and reranking affect quality, how to evaluate a system, and how to choose between hosted, open-source and small local models.
11 guides by Naman Gundaniya
- 6 min read
RAG Chunking Strategies That Change Results
RAG chunking compared: fixed, recursive, semantic, document-structure and contextual chunks, what published evaluations found, and how to test your own.
- 6 min read
pgvector vs Pinecone vs Qdrant vs Weaviate: How to Choose
A vector database comparison of pgvector, Pinecone, Qdrant and Weaviate by ops burden, filtering, hybrid search and public pricing as of late 2026.
- 6 min read
Claude Sonnet 4.5 Retires Nov 30: How to Migrate
Claude Sonnet 4.5 deprecation: the model retires on 30 November 2026. Step-by-step migration to Claude Sonnet 5.5 and the API changes that return 400 errors.
- 8 min read
Why AI Features Fail After Launch, and How to Fix Them
AI features that demo well often fail in production. The common causes (drift, model changes, edge cases, cost, trust) and the fixes that work.
- 6 min read
From Prototype to Production: Hardening an AI Feature
The demo worked, now ship it. A production checklist for AI features: evals, output checks, fallbacks, rate limits, monitoring and cost caps.
- 7 min read
AI Engineer Interview Questions and Answers
AI engineer interview questions on LLMs, RAG, agents, evals and system design, with what a strong answer covers and how to practise each round.
- 6 min read
AI Engineer Portfolio Projects That Get You Hired
Portfolio projects that prove AI engineering skill to hiring managers: ten ideas ranked by signal, how to present results, and what to skip.
- 8 min read
LLM Tracing and Observability: Tools and What to Log
LLM tracing for apps and agents: what a trace should capture, which signals predict problems, and open-source tracing tools compared, from Langfuse to Phoenix.
- 7 min read
Open-Source LLMs vs API Models: When Each Wins
Open-weight models are now a real option. When self-hosting beats API models on cost, privacy and control, when it doesn't, and how to find your break-even.
- 5 min read
Small Language Models and On-Device AI: When They Win
What small language models and on-device AI can do today, when they beat large models on cost, speed and privacy, and how to design for both.
- 5 min read
RAG vs Fine-Tuning: Which Does Your Product Actually Need?
RAG is the right first choice for roughly 80% of enterprise LLM use cases. When fine-tuning earns its place, when RAG wins, and when you need both.