Research

Question Generator for Vector Database Retrieval

Generate multiple alternative versions of a user question to enhance document retrieval from vector databases by providing diverse perspectives, helping to overcome limitations of distance-based similarity search.

9 steps 2 variables English

Prompt template

Run these steps in order.

01
Generate queryCount different versions of the original user question.
02
Ensure each version offers a unique perspective to help overcome limitations of distance-based similarity search in vector databases.
03
Provide the alternative questions separated by newlines between XML tags in the following format:
04
[begin questions]
05
Question 1
06
Question 2
07
...
08
[end questions]
09
Use the original question: question as the basis for generating these alternatives.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.