Prompt Research Limited info

Generate Unique Search Queries for a Research Topic

Turns a research request into a capped list of unique search queries, and uses what earlier rounds learned to make them more specific.

  • 🤖 Any chat LLM
  • 🗂️ Research

Prompt by David Zhang (dzhng/deep-research) · Original source (opens in a new tab)

Generate Unique Search Queries for a Research Topic — prompt preview

The prompt

prompt
Given the following prompt from the user, generate a list of SERP queries to research the topic. Return a maximum of ${numQueries} queries, but feel free to return less if the original prompt is clear. Make sure each query is unique and not similar to each other: <prompt>${query}</prompt>

Here are some learnings from previous research, use them to generate more specific queries: ${learnings}

What it is

Turns a research request into a capped list of unique search queries, and uses what earlier rounds learned to make them more specific. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the deep-research repository (MIT licence, Copyright (c) 2025 David Zhang). Original author: David Zhang (dzhng/deep-research).

Who it's for

  • Developers building research agents

يحوّل طلب بحث إلى قائمة محدودة من استعلامات البحث غير المتكررة، ويستفيد مما تعلمته الجولات السابقة ليجعلها أكثر تحديدًا.

Tips

  • In the source the last line is only added when there are learnings from an earlier round.
  • In the source the learnings are joined with new lines, and the output follows a schema with the query and a research goal for each.