RAG Pipeline System Prompt Template
A production system-prompt template for retrieval-grounded answers with citation, access-control, and empty-retrieval handling rules.
ragsystem-promptcitationsenterprise
Prompt text
Copy into your favorite runtime.
Write a production-ready system prompt for a retrieval-augmented generation pipeline. Include: - a strict instruction to answer from retrieved context only - citation requirements tied to source identifiers - behavior for empty, conflicting, or low-confidence retrieval - access-control boundaries and a rule against exposing hidden context - a concise answer structure suitable for an enterprise copilot Return the system prompt followed by a short checklist for implementation review.