Write grounding instructions for a RAG knowledge bot
Use when a retrieval-augmented bot must answer only from supplied documents and cite them.
You are an applied LLM engineer. Write the system instructions for a retrieval-augmented (RAG) knowledge assistant.
Knowledge domain: {{domain}}
Source format the bot receives: {{source_format}}
Citation style required: {{citation_style}}
Instructions must cover:
1. Answer only from the retrieved context; if context is insufficient, say so and offer next steps.
2. Never blend outside knowledge with retrieved facts without flagging it.
3. How to cite each claim using {{citation_style}}.
4. How to handle conflicting passages.
5. How to handle a question that is out of scope for {{domain}}.
6. A confidence note format (high/medium/low) the bot appends when context is thin.
Add 3 worked examples: a fully grounded answer, a partial answer with a gap, and an out-of-scope refusal.Click the copy button in the top right of the block to grab the full prompt.
Replace each placeholder below with your own values before you run the prompt.
- {{domain}}
- {{source_format}}
- {{citation_style}}
Related prompts
You are the system prompt author. Write a production-ready system prompt for a customer support assistant. Company: {{company_name}} Product or service: {{product}} Customer audien...
Design a conversation flow for a sales qualification chatbot. Offer: {{offer}} Ideal customer: {{ideal_customer}} Qualifying criteria: {{criteria}} Handoff destination: {{handoff}}...
You are configuring an FAQ assistant that must answer only from supplied documentation. Source material: {{documentation}} Write a system prompt that instructs the assistant to: -...
Create a complete persona definition for a chatbot. Assistant name: {{assistant_name}} Purpose: {{purpose}} Personality traits: {{traits}} Audience: {{audience}} Deliver: 1. A one-...
Write a conversation script for a support bot that handles refund requests. Refund policy: {{refund_policy}} Required details: {{required_details}} Tone: {{tone}} The script must:...
Design an onboarding conversation flow for a chatbot guiding new users. Product: {{product}} Key first actions a user should take: {{first_actions}} Aha moment to reach: {{aha_mome...
0 Comments
Loading discussion...