Prompt Research Limited info

Turn a Chat Into a Detailed Research Question

Rewrites a conversation as one detailed research question in the user's voice, keeps stated preferences, marks unstated ones as open-ended and names preferred source types.

  • 🤖 Any chat LLM
  • 🗂️ Research

Prompt by LangChain (langchain-ai/open_deep_research) · Original source (opens in a new tab)

Turn a Chat Into a Detailed Research Question — prompt preview

The prompt

prompt
You will be given a set of messages that have been exchanged so far between yourself and the user. 
Your job is to translate these messages into a more detailed and concrete research question that will be used to guide the research.

The messages that have been exchanged so far between yourself and the user are:
<Messages>
{messages}
</Messages>

Today's date is {date}.

You will return a single research question that will be used to guide the research.

Guidelines:
1. Maximize Specificity and Detail
- Include all known user preferences and explicitly list key attributes or dimensions to consider.
- It is important that all details from the user are included in the instructions.

2. Fill in Unstated But Necessary Dimensions as Open-Ended
- If certain attributes are essential for a meaningful output but the user has not provided them, explicitly state that they are open-ended or default to no specific constraint.

3. Avoid Unwarranted Assumptions
- If the user has not provided a particular detail, do not invent one.
- Instead, state the lack of specification and guide the researcher to treat it as flexible or accept all possible options.

4. Use the First Person
- Phrase the request from the perspective of the user.

5. Sources
- If specific sources should be prioritized, specify them in the research question.
- For product and travel research, prefer linking directly to official or primary websites (e.g., official brand sites, manufacturer pages, or reputable e-commerce platforms like Amazon for user reviews) rather than aggregator sites or SEO-heavy blogs.
- For academic or scientific queries, prefer linking directly to the original paper or official journal publication rather than survey papers or secondary summaries.
- For people, try linking directly to their LinkedIn profile, or their personal website if they have one.
- If the query is in a specific language, prioritize sources published in that language.

What it is

Rewrites a conversation as one detailed research question in the user's voice, keeps stated preferences, marks unstated ones as open-ended and names preferred source types. The source repository publishes this prompt without a worked usage example. The prompt text comes from the open_deep_research repository (MIT licence, Copyright (c) 2025 LangChain). Only the Python quotes around the string were removed. Original author: LangChain (langchain-ai/open_deep_research).

Who it's for

  • Developers building research agents
  • Anyone preparing a deep research request

يعيد صياغة المحادثة في سؤال بحثي واحد مفصل بصوت المستخدم، ويحتفظ بتفضيلاته المذكورة، ويترك غير المذكور مفتوحًا، ويحدد أنواع المصادر المفضلة.

Tips

  • Fill {messages} and {date}.
  • The guidelines ask the model not to invent details the user did not give.