RAG Pipeline Utils v3.3: Grounding That Catches Negation, AI SDK Middleware, Test Matchers and Mastra
v3.3.0 makes the grounding check catch answers that contradict their source, and brings the checks to the tools you already use: middleware for the Vercel AI SDK, matchers for Jest and Vitest, and scorers and a guardrails processor for Mastra. Nothing breaks for existing code, but some answers that used to pass the grounding check now fail it, on purpose.
npm install @devilsdev/rag-pipeline-utils@^3.3.0
