Separate retrieval from generation
The original retrieval-augmented generation research combined a retrieval component with a language generator for knowledge-intensive tasks. In an application design, it is useful to examine those stages separately: finding suitable evidence and generating an answer from it can fail for different reasons. Lewis et al., Retrieval-Augmented Generation
For PROXIES.SX, the documented rental exposes model inference through a chat-completions API. It does not give the renter a shell for installing a vector database. The reviewed customer materials do not establish a managed embeddings, indexing or reranking endpoint. Plan those components separately. Compute rental documentation
Documents -> ingestion and index you operate
Question + user permissions -> retrieval you operate
Question + permitted excerpts -> rented chat inference endpoint
Answer + source checks -> your application response
This is a proposed application architecture, not a deployed PROXIES.SX RAG service. Start with the compute API integration to establish the supported request shape.
Decide what stays in your application
Keep document ingestion, access permissions, retrieval and source identifiers in your backend. If you use an embedding model, confirm its license and hosting requirements separately. A chat-compatible endpoint does not imply an embeddings-compatible endpoint.
Give each retrieved excerpt a stable document identifier and a location such as a section or page. Preserve the mapping in your application so a response can link to the source the user is allowed to read. Avoid asking the language model to invent a source URL.
For changing documents, decide how updates and deletions reach the index. An accurate generator can still answer from an outdated excerpt. Store the document version or retrieval timestamp with an evaluation case so you can distinguish stale evidence from a model mistake.
Budget the complete context
Count the question, instructions, conversation history, excerpts and planned output against the assigned configuration's context limit. The reviewed catalog publishes 16,384 for the 4-bit entry and 32,768 for the other two. Confirm the current endpoint's behavior before relying on the full limit.
A planning example for a 16,384-token limit could allocate 12,000 input tokens and 2,000 output tokens, leaving 2,384 for additional formatting and margin. This is arithmetic for planning, not a measured capacity recommendation. Use the model's tokenizer or documented usage fields to check actual counts.
Select excerpts by relevance and remove duplicates before expanding the prompt. Extra material has a cost in prompt processing and can make it harder to diagnose why an answer failed. Compare quantizations on the same evidence set.
Check citations against the retrieved evidence
Ask for source identifiers beside factual claims, then validate that each identifier came from the retrieved set. A valid identifier is only the first check: the cited passage must also support the claim.
Create evaluation questions with known answers and include questions whose answers are absent from the indexed material. Record retrieval success, answer correctness, source support and unsupported claims separately. If the right passage was never retrieved, increasing inference capacity does not fix that failure.
The benchmark worksheet can record model timing. Add your retrieval duration and source-check result alongside it to measure what the reader actually experiences.
Test evidence position and missing answers
Liu and colleagues' 2023 study found that performance on its retrieval and question-answering tasks could change when relevant evidence moved within a long context. The tested models do not establish a failure rate for this catalog. The finding supports adding position changes to your own evaluation. Lost in the Middle
Take a question with one known supporting passage. Test the passage near the beginning, middle and end of the supplied excerpts, then remove it entirely. Keep the question and answer check fixed. This helps distinguish a model that uses supplied evidence from one that produces a plausible answer without it.
| Evaluation case | Useful outcome to inspect |
|---|---|
| Correct passage retrieved | Answer matches the passage and cites its real identifier. |
| Passage missing | The application reports that the indexed evidence is insufficient. |
| Two document versions disagree | The answer uses the intended version or explains the conflict. |
| Passage exists but user lacks access | Retrieval excludes it before inference. |
For changing material, preserve the source version with the test case. Rerun retrieval checks after indexing changes and generation checks after model or prompt changes. This keeps a faster endpoint from masking an outdated or incorrectly permissioned index. The model catalog now exposes revision hashes for repeatable generation comparisons.
Enforce permissions before model access
Filter retrieval by the authenticated user's permissions before sending excerpts to the model. Do not rely on a system prompt to hide documents that the user should never have received.
Treat retrieved text as external data. Instructions embedded in a document can try to redirect the model, and RAG does not eliminate that risk. Keep tool authorization in application code and test with adversarial documents as well as normal questions. OWASP indirect prompt injection guidance
Selected excerpts leave your application when sent to the inference service. Review the inference privacy questions, including logging and any fallback provider, before using confidential documents.
Test demand before a 30-day commitment
Measure retrieval time, first-token latency and completion time under the simultaneous traffic you expect. If a busy period queues requests, a fast single-user demonstration is insufficient evidence for launch.
Compare the full rental cost with the amount of successful work completed, and include the index, embedding service and application hosting in your own budget. Check current stock before depending on a rental: the saved September 11 snapshot contained no listed machines.
Use the agent documentation hub for the wider service references and compute provider reference for how the model is served. This guide specifies an architecture and evaluation method; it does not report a tested RAG deployment.
Sources and references
Reviewed September 11, 2026. Product statements come from public APIs, provider documentation and published application code. Technical references explain the evaluation methods. Authenticated rental and payout behavior has not been tested.
- Dated compute product facts. PROXIES.SX.
- Compute provider documentation. PROXIES.SX.
- Customer documentation in the compute application. PROXIES.SX.
- Model catalog API. PROXIES.SX.
- Lost in the Middle: How Language Models Use Long Contexts (2023). Nelson F. Liu et al..
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020). Patrick Lewis et al..
- LLM01:2025 Prompt Injection. OWASP Gen AI Security Project.