Gaurav Jain·Sep 30Gunicorn and Uvicorn — What They Actually Are and When You Need BothWhile building a full-stack FastAPI app — streaming AI responses, WebSockets, multi-minute workflows — I kept using the startup command…
Gaurav Jain·Sep 6Vector Indexing Algorithms in RAG — What Each One Actually CostsDetailed Working notes on Flat, IVF, HNSW, PQ/OPQ, quantization and hybrid search — what each one does, what it costs, and where it breaks.
Gaurav Jain·Jul 9Resource Share: KL Divergence in LLMsI Came across this article by Kuriko Iwai on KL divergence in the context of LLM fine-tuning and thought it was worth sharing with the…
Gaurav Jain·Jun 16Python Module Objects Are Cached Per Process — and Why That Matters for AI BackendsA lesson from building a multi-user agentic AI system on Azure AI Foundry.
Gaurav Jain·May 27Did You Know a Word Document is Just XML ? Here’s How You Can Auto-Fill Templates from ResponsesThe actual document content lives in word/document.xml. Every paragraph, every table cell, every run of bold text - it's all XML
Gaurav Jain·Apr 22Real-Time Streaming Applications — async for vs for, Implicit Await, and the Hidden Cost of a…While building a real-time AI response streaming application using FastAPI WebSockets and an OpenAI-compatible client, I came across a…
Gaurav Jain·Apr 20How Do We Know If an LLM Is Actually Giving Good Answers? Meet ROUGEYou’ve built an LLM-powered system. It summarizes documents, answers questions, extracts key points. It seems to work. But how do you prove…
Gaurav Jain·Apr 15Python BytesIO — .getvalue() vs .getbuffer()While building full stack applications and agentic workflows, I kept running into the same decision point around in-memory file handling…