PromptisePromptise
Why PromptiseUse casesRoadmapDocs
GitHubGet started
← All questions> Techniques

What prompts work best with retrieval-augmented generation (RAG)?

In RAG, the prompt should: instruct the model to answer only from supplied passages, request citations, and specify what to do when information is missing (say ‘not found’). Keep passages clean and relevant—more isn’t better. Add a re-ranking step if possible. Ask for a short reasoning trace that references the exact snippet used. This reduces hallucinations and improves trust.

In practice

Use a separate ‘question rewriting’ prompt to make queries retrieval-friendly before fetching docs.

Where to start

  1. [01]Write a ‘use only these sources’ instruction block.
  2. [02]Add ‘no answer’ behavior to avoid speculation.
  3. [03]Implement re-ranking to keep context tight.
  4. [04]Measure citation coverage and factual accuracy.
RAG promptsretrieval promptinggrounded generation

Related questions

// 001What are the best prompt engineering techniques?// 002What programming languages are used in prompt engineering?// 003What are the most advanced prompt engineering patterns?// 004Why do checklists improve AI outputs?

Build it properly.

Promptise Foundry treats prompts as software — typed blocks, versioning, guards and an inspector that shows you every assembly decision.

Prompt engineering in FoundryRead the guides
Promptise - AI Framework LogoPromptise

The foundation layer for agentic intelligence. Build, secure and operate autonomous AI systems with Promptise Foundry.

pip install promptise

[01] Foundry

  • MCPcast
  • The Promptise Agent
  • Reasoning Engine
  • MCP
  • Agent Runtime
  • Prompt Engineering
  • Execution Engine
  • Agent Identity

[02] Resources

  • Documentation
  • GitHub
  • Guides
  • Learning Paths
  • Questions

[03] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

Open source · Python