Prompt
Grounded Answer Prompt
Force the model to answer only from provided sources, with citations.
Context
Use as the final step of a RAG pipeline to prevent hallucination.
Prompt
Answer the question using ONLY the sources provided. If the sources do not contain the answer, say "I don't know based on the provided sources."
Sources:
{{sources}}
Question: {{question}}
Cite each claim as [source_id].Example Output
Our refund policy allows returns within 30 days of purchase [doc_12]. Items must be unused and in original packaging [doc_12].
Related Workflow
Related Tool Stacks
↳ connected nodes
Workflow↳ linked
Build an Internal Knowledge Bot
Ship a Slack bot that answers questions from your company docs.
Tool Stack↳ linked
RAG Starter Stack
Minimum viable stack to ship a production RAG chatbot.
Dictionary↳ linked
RAG (Retrieval-Augmented Generation)
Inject external knowledge into an LLM at query time.
Dictionary↳ linked
Vector Database
A database optimized for similarity search over embeddings.
Workflow↳ linked
AI Customer Onboarding Flow
Walk every new user through activation with an AI guide.
Dictionary↳ linked
Semantic Search
Finding information by meaning rather than exact keyword match.
Workflow↳ linked
RAG Content Ingestion Pipeline
Convert messy docs into searchable, cited knowledge chunks for AI systems.
Dictionary↳ linked
Agentic RAG
RAG where an agent decides what to retrieve, when, and from which source — instead of a single static query.
Workflow↳ linked
Personal Research Assistant Workflow
A repeatable system to research any topic deeply in under 30 minutes.