
The Difference Between Infrastructure Ownership and Operational Control
Explore the difference between infrastructure ownership and operational control and how to choose the right cloud management model.
Read field noteField notes / Latest
Engineering notes from operating open infrastructure: the failures, design decisions, and upstream work that make open infrastructure better.
Browse all field notes
Explore the difference between infrastructure ownership and operational control and how to choose the right cloud management model.
Read field note
Learn how to build a private enterprise RAG assistant with permission-aware retrieval, secure inference, citations, monitoring, and safe updates.
Read field note
LLM GPU requirements for a clinical model: fine-tuning is the small line, serving the large one, and when owning GPUs beats renting under health data rules.
Read field noteLearn how to build a private enterprise RAG assistant with permission-aware retrieval, secure inference, citations, monitoring, and safe updates.
An internal AI assistant can look convincing in a demo built around a few documents and test questions. Production brings harder questions: Can each person see only information they are authorized to access? How quickly do document updates reach the assistant? Does retrieval find the right passages? Can teams tell when answers are wrong, slow, or expensive to serve?
These are architecture and operating questions, not just model questions. A production-ready retrieval-augmented generation (RAG) system needs a controlled path from source documents to answers, with permissions, updates, quality checks, monitoring, and clear ownership designed from the start.
For IT and platform leaders, the goal is to choose an approach that makes a specific knowledge task useful and supportable. Validate the data and user workflow before investing in infrastructure, then decide which components to build, manage, or consume as a service.
RAG gives a language model relevant information from a collection of documents when it answers a question. The system searches for passages related to the question, adds selected passages to the model’s prompt, and asks the model to generate a response using that context.
This can help an assistant answer questions about current or organization-specific material without training a model on every document. RAG is useful for knowledge discovery and reference tasks. It does not replace systems that execute transactions, guarantee correct answers, or automatically make sensitive data safe to use.
A typical flow looks like this:
Source repositories → ingestion and processing → searchable index → permission-aware retrieval → model endpoint → answer with citations
Identity, evaluation, monitoring, backups, and document updates support that flow. Organizations can operate some components themselves and use managed services for others. The right boundary depends on the workload, team capacity, and data requirements.
Start with approved sources, such as an intranet, document repository, knowledge base, or object store. Define how documents are discovered, extracted, and refreshed. Processing may include text extraction, OCR for scanned files, format conversion, and checks for duplicate or corrupted content.
Preserve metadata needed to interpret and govern the content: source, owner, version, modification time, classification, and access permissions. Keep a record connecting each indexed passage to its original document and location. Without this context, it is harder to secure results, show useful citations, or remove stale content.
Search systems divide documents into smaller passages, or chunks. Each passage can be converted into an embedding a numerical representation that helps find text with related meaning and stored in a vector index. At query time, the system compares the user’s question with those representations to find potentially relevant passages.
Chunking choices affect what the system retrieves. A chunk that is too large may include unrelated material; one that is too small may lose the context needed to understand a passage. Preserve headings and document structure where possible, and test the approach against the organization’s actual content. Metadata in the index can support filtering by source, date, classification, or permissions.
Vector similarity is one retrieval method. Exact terms, identifiers, and policy numbers may be better served by keyword search. Hybrid retrieval combines semantic and keyword results, then ranks candidates for the question. The right approach depends on the documents and the questions users need answered.
The assistant should respect the same access boundaries as its source systems. Authenticate the user, resolve their groups and permissions through trusted application logic, and apply those permissions during retrieval. Do not ask the language model to decide what the user is allowed to see.
This check must happen before retrieved text is added to the prompt. If the model receives information the user cannot access, a prompt instruction cannot reliably undo that exposure. Keep permission metadata current as people join groups, change roles, or lose access. Test revoked permissions and cross-team queries, including their effect on search results, citations, caches, and links to source documents.
Treat retrieved documents as content, not instructions. A document might contain text that tries to redirect the model. The application should define the assistant’s permitted behavior independently of the passages it retrieves.
The model endpoint generates an answer from the question and retrieved context. A managed inference service may be sufficient when its model options, processing location, data handling, network controls, retention terms, and service levels meet the organization’s requirements. It can reduce the work of deploying and maintaining model-serving infrastructure.
A private or on-premises deployment may be appropriate when requirements call for greater control over processing location, network boundaries, model choice, or integration. These options also bring operational responsibilities, including serving, patching, capacity, and availability.
Keep four concepts separate. Data residency concerns where data is stored or processed. Access controls determine who and what can reach it. Retention describes how long prompts, retrieved content, logs, and outputs are kept. Sovereignty concerns authority or jurisdiction over the data and services that process it. A deployment location alone does not establish the other properties or make a system compliant. Assess the full service and configuration against the organization’s obligations.
For a comparison of deployment models, see VEXXHOST’s guide to Private AI Inference vs. Public AI APIs.
Answers should let users inspect the evidence behind them. Show citations that identify the source document and, where possible, a relevant page, heading, or section. Links back to original sources must continue to enforce those sources’ permissions. A citation helps users verify a response; it does not prove that the answer is complete or correct.
Evaluate retrieval and generation separately. Check whether retrieval finds relevant passages and excludes irrelevant ones. Then check whether the generated answer is supported by those passages, cites them accurately, and acknowledges when the available context is insufficient. One useful measure is whether the retrieved passages actually support the answer. Build a test set from representative questions, including ambiguous questions, questions with no supported answer, and questions that require information from multiple documents.
Repeat evaluations when you change the model, embedding model, chunking, prompts, ranking, or source data. These changes can improve one class of questions while degrading another. Assign an owner to review evaluation results after launch and whenever the system changes.
Measure each stage: ingestion failures and processing delays; retrieval latency and results; model response times and errors; and end-to-end latency. Track usage and cost by workload or team, along with token consumption, storage growth, and resource needs. These measures help teams find bottlenecks and plan capacity against expected concurrency and response-time targets.
Logs help with troubleshooting, but prompts and retrieved passages can contain sensitive information. Define retention and access rules for logs, capture only what operators need, and consider redaction or restricted access. Monitoring should make system health visible without creating another poorly controlled store of confidential data.
Review service metrics and user feedback on a regular schedule. Use them to identify changes in answer quality, retrieval performance, latency, or cost, and assign a team to investigate and prioritize fixes.
An index can produce stale answers if document changes do not propagate. Track source versions and processing status. When a document changes, reprocess and replace its indexed passages as a controlled operation. When a document is deleted or access is revoked, remove or disable the associated passages and verify that they no longer appear in retrieval or cached results.
For major changes to extraction, chunking, or embedding, build a new index version and validate it before switching over. Keep enough lineage to identify which source version produced a result. Backups should cover the data and configuration needed to restore service, with access and retention controls appropriate to the material.
RAG components can have different infrastructure needs. The application, ingestion workers, retrieval service, vector index, and model endpoint do not all need to run in the same environment.
Kubernetes can help teams deploy and manage containerized services, scale ingestion workers separately from query services, and apply repeatable configuration. It can be useful when an organization already operates Kubernetes or needs to run components across environments. Teams still need to manage cluster security, upgrades, resource allocation, and availability. For organizations that want expert support or managed operations, see VEXXHOST Managed Kubernetes.
Object storage can hold original files, extracted artifacts, index snapshots, and backups. Keeping source documents separate from derived index data supports reprocessing and recovery. Ceph Storage is one option for block, object, and file storage in environments where open infrastructure and deployment control matter.
Dedicated GPU capacity becomes relevant when benchmarks show that a workload’s model, concurrency, latency, availability, or data-handling requirements are not met by the selected endpoint or shared capacity. Estimate needs from measured model behavior and expected demand, including peak concurrency, not just document count. Requirements also depend on model choice and serving configuration. Dedicated hardware can provide more control, but teams need to account for utilization, operations, and capacity planning. VEXXHOST offers GPU Infrastructure for hosted or customer-controlled environments.
Organizations do not have to build every layer themselves. VEXXHOST AI Inference may fit teams seeking a managed model endpoint. Advisory support can help define a useful workload, compare deployment options, and identify which components should be managed or self-operated. For broader planning across data, infrastructure, models, and operations, see the AI Readiness Assessment.
Before launch, confirm that:
A private knowledge assistant is a data and operations system as much as a model integration. Retrieval can return incomplete or irrelevant context; access controls must prevent unauthorized information from reaching the model; and answer quality requires ongoing testing. Infrastructure needs depend on document volume, concurrency, model choice, latency targets, and data-handling requirements.
VEXXHOST can help assess those requirements and scope an approach using AI Inference, GPU Infrastructure, Managed Kubernetes, Ceph storage, and advisory support in hosted or customer-controlled environments. Contact VEXXHOST to scope a private AI knowledge assistant for your organization.
Choose from Atmosphere Cloud, Hosted, or On-Premise.
Simplify your cloud operations with our intuitive dashboard.
Run it yourself, tap our expert support, or opt for full remote operations.
Leverage Terraform, Ansible or APIs directly powered by OpenStack & Kubernetes