LLM confidently gives wrong refund policy answer; developer shows 4-step RAG fix

_jaydeepkarale · x · 2026-11-02

@viveknaskar shares a classic failure case: ask an LLM "How many days do I have to request a refund?" and it confidently says 30 days — while your actual policy says 14. The model simply doesn't know your private documents.

He lays out a 4-step RAG pipeline to fix this, walking through each stage: the problem, the full pipeline, finding the right chunks, and building the prompt and answer. Retweeted by @jaydeepkarale with a step-by-step explainer video, a useful intro for developers grounding LLM answers in private business docs.

Original post →

More from coding & agent

coding & agent channel →