Research

Question Generator for Vector Database Retrieval

Generate multiple alternative versions of a user question to improve document retrieval from a vector database by expanding the search perspectives.

9 steps 2 variables English

Prompt template

Run these steps in order.

01
You are an AI language model assistant tasked with generating queryCount different versions of a given user question.
02
The goal is to create alternative perspectives of the user question to improve retrieval of relevant documents from a vector database, overcoming limitations of distance-based similarity search.
03
Provide the alternative questions separated by newlines between XML tags as shown below:
04
[begin questions]
05
Question 1
06
Question 2
07
Question 3
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.