Skip to content
Tejas P Mehta
  • Home
  • About
  • Claude Workflow
  • Build a RAG
  • Build AI Agent in PHP
  • Home
  • About
  • Claude Workflow
  • Build a RAG
  • Build AI Agent in PHP

Posts by Tejas P Mehta

  • Home
  • Tejas P Mehta
  • Page 2
About Tejas P Mehta
Founder & CTO of Mavin Agency, a 25+ person software firm serving 100+ clients since 2016. Writing PHP since 2005. I write practical, step-by-step AI tutorials for developers, PMs and founders: Claude across the dev workflow, RAG and AI agents in plain PHP and MySQL.
Evaluating a RAG bot and shipping it as a web chat
Posted inAI & LLMs PHP Tutorials RAG Tutorial Series

Episode 8 — Evaluating & Shipping

Posted by By Tejas P Mehta July 23, 2026
From "seems good" to "measurably good" to "live" For two episodes I've been repeating the…
Read More
Keyword and vector search combined, with a shield blocking a malicious note
Posted inAI & LLMs MySQL & Databases PHP Tutorials RAG Tutorial Series

Episode 7 — Improving Quality: Hybrid Search, Reranking & Guardrails

Posted by By Tejas P Mehta July 23, 2026
"Works on my questions" isn't "works" Episode 6 gave us a real, grounded, cited bot.…
Read More
An AI answer with numbered citations linked to source documents
Posted inAI & LLMs PHP Tutorials RAG Tutorial Series

Episode 6 — Generation: Grounded Answers with Citations

Posted by By Tejas P Mehta July 23, 2026
The last mile Five episodes of groundwork come together here. We can load documents, chunk…
Read More
Filtering search results with top-K and a similarity threshold
Posted inAI & LLMs PHP Tutorials RAG Tutorial Series

Episode 5 — Retrieval: Top-K, Thresholds & Filtering

Posted by By Tejas P Mehta July 23, 2026
Our search is fast, but it isn't smart After Episode 4, MySQL ranks our chunks…
Read More
Vector search running inside a MySQL database
Posted inMySQL & Databases PHP Tutorials RAG Tutorial Series

Episode 4 — Scaling the Vector Search in MySQL

Posted by By Tejas P Mehta July 23, 2026
The problem hiding in our search Episode 3 ended on a high: ask "how do…
Read More
Text turned into points on a map of meaning
Posted inMySQL & Databases PHP Tutorials RAG Tutorial Series

Episode 3 — Embeddings & Your First Similarity Search

Posted by By Tejas P Mehta July 23, 2026
The gap we have to close At the end of Episode 2 we had chunks.json:…
Read More
Documents being split into small overlapping chunks
Posted inAI & LLMs PHP Tutorials RAG Tutorial Series

Episode 2 — Preparing the Knowledge Base: Loading & Chunking Your Docs

Posted by By Tejas P Mehta July 23, 2026
Where we left off In Episode 1 we cheated. We pasted Nimbus's refund policy into…
Read More
Infographic comparing an LLM answering from memory versus an LLM using RAG to read from a knowledge base
Posted inAI & LLMs PHP Tutorials RAG Tutorial Series

Episode 1 — What Is RAG, and Why Should You Care?

Posted by By Tejas P Mehta July 23, 2026
The problem, in one support ticket Imagine a customer opens a chat on Nimbus's website…
Read More
AI assistant and developer reviewing code together
Posted inAI & LLMs AI-Powered Dev Workflow

AI-Powered Code Review with Claude: What to Check and How to Prompt

Posted by By Tejas P Mehta June 23, 2026
Claude reviews code across six dimensions — correctness, security, performance, readability, test coverage, and edge cases — consistently, every time. This post shows the exact prompts, a worked example with three real bugs, and an honest list of what Claude cannot do.
Read More
Magnifying glass revealing gaps in a stack of test cases
Posted inAI-Powered Dev Workflow

Test Case Review with Claude: Find the Gaps Before QA Does

Posted by By Tejas P Mehta June 23, 2026
Finding a gap in your test cases during QA is expensive. This post shows how to use Claude to cross-check test cases against your FRD, surface redundant coverage, and generate the missing tests before QA finds them.
Read More

Posts pagination

Previous page 1 2 3 4 5 Next page
Scroll to Top