
Offline RAG starter: Ollama, FastAPI, and Docker without the cloud
VaultRAG is a local RAG boilerplate: PDFs, Ollama embeddings, a private index, and SSE answers — for clients who will not send documents to OpenAI.
Developer news without the noise — My Dev News in Telegram.

Tag
All blog posts with this tag.

VaultRAG is a local RAG boilerplate: PDFs, Ollama embeddings, a private index, and SSE answers — for clients who will not send documents to OpenAI.

How to choose neural network quality metrics: classification, computer vision, OCR, LLM and RAG, calibration and production indicators — what to measure so the model truly works in the product.

Production RAG cannot leave authorization to the model. How to isolate tenants, apply access lists before retrieval, close hidden leak channels, and measure recall under tight filters.

A production ingest pipeline for RAG: immutable originals, PDF and scan parsing, tables that keep their headers, parser quarantine, versioning, and idempotent replay.

How text becomes tokens and vectors, what a Transformer actually does, why training is not RAG, and how to grow a Markdown knowledge base into retrieval.

A practical map of LLM adaptation: what changes model weights, what plugs in knowledge and tools, and how to choose an approach without “fine-tuning on PDFs.”

How to run a vector database as an index layer: ANN algorithms, filters, tenancy, operations, and when pgvector beats a dedicated store.

Build an AI evaluation harness that connects golden datasets, retrieval and generation metrics, CI regression gates, shadow traffic, release controls, observability, and LLM gateway FinOps.

A practical guide to production RAG architecture: ingestion, chunking, hybrid retrieval, reranking, evaluation, observability, security, and staged delivery for engineering teams.

A production security model for prompt injection: treat retrieved documents, web pages, tool results, and MCP resources as hostile input; isolate context, constrain egress and tools, sandbox execution, and test layered defenses.

Run controlled chunking experiments while preserving document structure and citations.

Build a representative, versioned golden dataset for RAG retrieval and answer evaluation.

Combine BM25, vector retrieval, and reciprocal-rank fusion with measurable production guardrails.

Operate a RAG reranking stage with explicit quality, latency, and cost budgets.

A practical architecture that connects business problems, knowledge, RAG, agents, security, and observability into one enterprise AI platform.

A practical lifecycle for changing enterprise AI safely: requirements, testing, security review, controlled release, rollback, and monitoring.

How to operate enterprise AI with observability across infrastructure, RAG, answer quality, security, and business metrics.

A practical framework for measuring enterprise AI across retrieval, answers, security, and business outcomes.

How to design scalable RAG for many data sources, millions of documents, and access-controlled enterprise knowledge.

How to clean, describe, chunk, and safely index enterprise documents for reliable AI answers.

How to select a language model for enterprise AI using scenarios, security, cost, and infrastructure requirements.

How to select a bounded, secure enterprise AI pilot, define success criteria, and prepare for responsible scaling.

How to discover, classify, and safely connect enterprise knowledge for RAG and enterprise search.

How to connect corporate AI to ERP while preserving data authority, access roles, and operational controls.

How agent systems connect language models to enterprise services and automate processes while keeping people in control.

How to separate enterprise knowledge from model behavior and decide when fine-tuning is worth the operational cost.

Why data protection, access controls, answer traceability, and audit must shape enterprise AI architecture from day one.

How to design reliable, scalable enterprise AI infrastructure from business scenarios, security constraints, and service-level requirements.

How vector databases make enterprise knowledge searchable at scale while preserving source systems and access controls.

How vector representations retrieve enterprise knowledge by meaning while preserving exact search and security requirements.

How RAG separates enterprise knowledge from the model, keeps documents current, and preserves verifiable, permission-aware access.