Nilay Baranwal
  • WorkSection
  • WritingSection
  • LabSection
  • Open sourceSection
  • GallerySection
  • AboutSection
  • ResumeSection
  • ContactSection
  • Hive MindProject
  • Pre-trade dashboardProject
  • Social LineProject
  • PartymakerProject
  • Generative engine optimisation platformProject
  • Agentic property managementProject
  • I built ChatVault: an open source plugin to back up your AI chat historyArticle
  • No shared service accounts: per-user tokens for MCP serversGuide
  • Webhook agents that wait for a human on the risky callsGuide
  • Door scanning when the club's wifi dropsGuide
  • Measuring AI citations with a frozen prompt panelGuide
  • Treat AI agents like insiders, not tools: 5 guardrails for enterprise MCP serversArticle
  • Gating agent tool calls with MCP annotationsGuide
  • AI agents now outwork humans at Anthropic. Junior engineers are feeling it first.Article
  • Anthropic replaced git. Here's why you probably shouldn't.Article
  • Recruiters can now interview your AI twin. Here's what it actually checks.Article
  • Everyone's building a Jev rival. The independent numbers tell a different story.Article
  • Jev vs OpenAI Decisions API: which decision model should your agent use?Article
  • Top 10 Jev use cases in agentic appsArticle
  • Jev vs Laya: decision modelsArticle
  • LLMs or Jev: where each one actually fitsArticle
  • Everyone's talking about Jev. Here's a closer look at what the data shows.Article
  • Live agent with an approval gateLab
  • Eval a prompt on a real modelLab
  • Prompt injection against a real modelLab
  • GEO audit across AI enginesLab
  • Prompt caching, measuredLab
  • AI engineer interview, beginner pathLab
  • From DSA to a job offer, beginner pathLab
  • Behavioural interview coachLab
  • Interview drill, experiencedLab
  • AI adoption plannerLab
  • Discovery call simulatorLab
  • Scope a vague problemLab
  • MCP analyzerLab
  • MCP inspectorLab
  • Per-user tokens for an MCP serverLab
  • Webhook agent with approval gatesLab
  • Offline door scanningLab
  • Tool gate playgroundLab
  • Prompt-injection spotterLab
  • RAG chunking visualizerLab
  • Eval benchLab
  • Measure AI citationsLab
  • Agent trace debuggerLab
  • Prompt caching simulatorLab
  • Context window budgetLab
  • ChatVaultOpen source
  • textagentOpen source
  • Help EngineerOpen source
  • Email nilaybaranwal@gmail.comContact
  • Connect your agent to my MCP serverLab
  • LinkedInContact
  • GitHubContact
Lab

For AI engineering

RAG chunking visualizer

Change chunk size and overlap, ask a question, and see which chunks retrieval would hand the model.

6 chunks. Retrieval sends 2 of them (~80 words) to the model.

  1. chunk 1, words 1–40score 2.08

    Refunds. Example Co. refunds annual plans in full within 30 days of purchase. After 30 days, annual plans are refunded pro rata for the unused months, minus a 10 percent processing fee. Monthly plans are not refunded, but you can
  2. chunk 2, words 31–70score 0.00

    processing fee. Monthly plans are not refunded, but you can cancel at any time and keep access until the end of the billing period. Invoices. Invoices are issued on the first working day of each month. VAT is added for
  3. chunk 3, words 61–100score 0.00

    first working day of each month. VAT is added for customers in the EU unless a valid VAT number is supplied at checkout. If an invoice shows the wrong VAT rate, support can reissue it within 14 days. Data export.
  4. chunk 4, words 91–130score 0.00

    rate, support can reissue it within 14 days. Data export. Account owners can export all workspace data as CSV or JSON from Settings. Exports larger than 2 GB are split into several files and sent by email link, which expires
  5. chunk 5, words 121–160score 1.06

    into several files and sent by email link, which expires after 7 days. Account deletion. Deleting an account removes all workspace data after a 30 day grace period. During the grace period an owner can restore the account. After it
  6. chunk 6, words 151–168score 0.89

    grace period an owner can restore the account. After it ends, deleted data cannot be recovered by support.

Highlighted words match the question; grey words at the start of a chunk are overlap from the previous one. Scoring is BM25 on keywords; real systems usually add embeddings and a reranker.