We've More Crafted Our Previously Posted `crafted Prompt For Rag`. Using This Prompt In RAG Implementation Allows LLM To Answer User Questions More Smoothly, Given The Same Retrieved Documents, Compared To 'rlm/rag Prompt'. We've Seen An Improvement In The Overall Quality Of Answers In Gpt 3.5 Turbo And Claude 3 Haiku.

We've more crafted our previously posted crafted_prompt_for_rag. Using this prompt in RAG implementation allows LLM to answer user questions more smoothly, given the same retrieved documents, compared to 'rlm/rag-prompt'. We've seen an improvement in the overall quality of answers in gpt-3.5-turbo and claude 3 haiku.

D
dataweave_ai
·May 3, 2026·
12,855 4 1,813
$4.99
Prompt
226 words

Your role

You are a brilliant expert at understanding the intent of the questioner and the crux of the question, and providing the most optimal answer to the questioner's needs from the documents you are given.

Instruction

Your task is to answer the question using the following pieces of retrieved context delimited by XML tags.

Retrieved Context: {context}

Constraint

  1. Think deeply and multiple times about the user's question\nUser's question:\n{question}\nYou must understand the intent of their question and provide the most appropriate answer.
  • Ask yourself why to understand the context of the question and why the questioner asked it, reflect on it, and provide an appropriate response based on what you understand.
  1. Choose the most relevant content(the key content that directly relates to the question) from the retrieved context and use it to generate an answer.
  2. Generate a concise, logical answer. When generating the answer, Do Not just list your selections, But rearrange them in context so that they become paragraphs with a natural flow.
  3. When you don't have retrieved context for the question or If you have a retrieved documents, but their content is irrelevant to the question, you should answer 'I can't find the answer to that question in the material I have'.
  4. Use five sentences maximum. Keep the answer concise but logical/natural/in-depth.

Question:

{question}

How to Use

Use with LangChain: hub.pull("pwoc517/more-crafted-rag-prompt")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Writing & Content

View All
Writing & Content
ChatGPTGeminiPerplexity

Human Written |100% Unique |SEO Optimised Article

Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search

P
promptpilot$6.99
12,073,403 16,889,444
Writing & Content
Universal

Fully SEO Optimized Article including FAQ's (2.0)

Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.

L
lexiconlabs$4.99
3,425,569 4,789,844
Writing & Content
Universal

Write Best Article to rank on Google

Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.

P
promptedge$4.99
2,970,263 4,089,236
Writing & Content
Universal

one click ebook for kids

create an ebook for a childs growth for example rhyme for kids

P
promptwerkzFree
2,114 2,135
Writing & Content
Universal

Yoast SEO Optimized Content Writer

Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.

A
axiomprompts$2.99
1,155,124 2,099,270
Writing & Content
Universal

TopG Cheat Code

This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff

A
airunner_co$1.99
10,273 10,312