Menu

RAG Pipeline Utils v4.0.0: A Smaller Install, Stricter Audit Logs
📰

RAG Pipeline Utils v4.0.0: A Smaller Install, Stricter Audit Logs

DEV Community: javascript·Devil's Dev·2 days ago
#uQVVBncd
#devtojavascript#devto#dev#pipeline#audit
Long article (427 words) — no AI summary yet.
Reading 0:00
15s threshold

4.0.0 is out. It removes the three things 3.x deprecated and changes nothing else: the pipeline API, answer checks, plugin contracts, configuration files, CLI commands and the Node.js requirement (22 or later) are the same as in 3.x. Installs that don't read HTML are about 13 MB smaller.

npm install @devilsdev/rag-pipeline-utils@^4.0.0

Enter fullscreen mode

Exit fullscreen mode

Most projects can upgrade without changing a line. To check yours, run your app or tests on 3.10 with --trace-deprecation . If none of RAG_DEP_JSDOM_PEER , RAG_DEP_AUDIT_LOG_DIR or RAG_DEP_AUDIT_REPORT_NO_TENANT shows up, you're ready.

jsdom is an optional peer dependency

jsdom is about 13 MB, and most projects never read HTML, so it is no longer installed with the package. If you load .html or .htm files with rag-pipeline ingest or HTMLLoader , add it to your own project:

npm install jsdom

Enter fullscreen mode

Exit fullscreen mode

Any version from 20 works, so a project that already has jsdom keeps its own copy.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.