AI and GenAI guides
RAG, vector databases, LLM serving, MCP and how AI systems run in production.
175 guides · Newest first · Updated
- LLM Customer Support Bot System Design: Ticket to HandoffIntake, triage, help centre answers, human handoff, cost per resolved ticket and SLAs.AI and GenAI · 24 min read ·
- Error Analysis for LLM Apps: Read Traces Before MetricsSampling traces, writing failure notes, grouping them into categories and turning them into tested checks.AI and GenAI · 22 min read ·
- LLM Quantization: INT8, INT4 and Quality LossHow INT8 and INT4 shrink a model, why it gets faster, where quality drops, and how to test it, built on one running Hindi chatbot example.AI and GenAI · 23 min read ·
- LLMOps Explained: From MLOps to Production LLMsHow it differs from MLOps, what to version, and how to ship LLM changes safely.AI and GenAI · 22 min read ·
- LoRA and QLoRA Explained: Fine-Tune a Model on One GPUHow small adapters and a 4-bit frozen base let you fine-tune a large model on one GPU.AI and GenAI · 26 min read ·
- Business Metrics vs ML Metrics: Better AUC, Worse RevenueWhy a model with a better AUC can earn less, and how to pick, connect and test the right metrics, using one running online store example.AI and GenAI · 23 min read ·
- Multi-Turn Evaluation: Testing Whole LLM ConversationsScenarios, simulated users, scoring and repeated runs.AI and GenAI · 25 min read ·
- Multimodal RAG: Searching Images, Tables and ScansHow to search photos, scanned forms and tables as well as text.AI and GenAI · 27 min read ·
- Parent Document Retrieval: Search Small, Return Big ContextA plain-English guide to parent document and multi-representation retrieval, from search keys to parent stores, built on one running appliance-manual support search.AI and GenAI · 22 min read ·
- Plan-and-Execute vs ReAct Agents: Plan First or Step by StepSpeed, token cost, replanning and prompt-injection safety.AI and GenAI · 23 min read ·
- Prompt Versioning: Testing, Releases and RollbackStoring prompts like code, testing every change in CI, staged rollouts and fast rollback, built on one running telemedicine example.AI and GenAI · 23 min read ·
- Keeping a RAG Index Fresh: Updates, Deletes and Re-indexingA plain-English guide to keeping a RAG index fresh through updates, deletes and full re-indexing, shown on one running example of a hospital HR policy assistant.AI and GenAI · 25 min read ·
- Recommendation System Design: Candidate Generation and RankingA plain-English guide to recommendation system design, from candidate generation and ranking to re-ranking, labels, serving, evaluation and feedback loops, built on one running video-streaming example.AI and GenAI · 25 min read ·
- Reflection Pattern: Making AI Agents Check Their Own WorkHow an AI drafts, critiques and revises its own work.AI and GenAI · 20 min read ·
- Design Search Ranking for a Rental AppCandidates, booking labels, position bias, NDCG and A/B tests.AI and GenAI · 28 min read ·
- Self-Hosting LLMs: Serving, Batching and GPU AutoscalingWhen owning GPUs beats paying per token, and how batching and GPU autoscaling work, built on one running legal-tech example.AI and GenAI · 25 min read ·
- Semantic Routing: Sending Queries to the Right SourceHow a support bot sends each question to an FAQ, a SQL database or documents.AI and GenAI · 24 min read ·
- Design a Multi-Agent Shipment Rerouting SystemAgents that spot road closures, a route solver for exact numbers, human approval and undo steps.AI and GenAI · 28 min read ·
- Speech Recognition System Design: Hinglish Call TranscriptsThe ASR pipeline, Hinglish code-switching, word error rate, GPU sizing and masking card numbers.AI and GenAI · 25 min read ·
- Synthetic Data for LLM Evaluation: Test Without Real CustomersA plain-English guide to building synthetic test data for LLM evaluation, so you can find edge cases without copying real customer data, shown on one running example of a health insurance claims chatbot.AI and GenAI · 27 min read ·
- Two-Tower Models: Retrieval Then RankingA plain-English guide to the two tower model, the retrieval step behind many large recommenders, built on one running handicrafts marketplace example from Kochi.AI and GenAI · 23 min read ·
- Vision-Language Models Explained: How AI Sees ImagesA plain-English guide to how vision-language models turn photos into tokens, learn to match pictures and words, describe images, and fail, built on one running shelf-audit example.AI and GenAI · 24 min read ·
- Voice Assistant System Design: Speech In, Speech OutA plain-English guide to designing a phone voice assistant, from speech-to-text to the model to text-to-speech, built on one running example of a Hindi farmers' helpline.AI and GenAI · 27 min read ·
- Web Agents: How Browser-Using AI Agents WorkHow a browser agent sees pages, clicks the right element, keeps login state and stays safe.AI and GenAI · 25 min read ·