File size: 837 Bytes
9f21f05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Modify the following query to improve its suitability for a Retrieval Augmented Generation (RAG) system using a semantic search engine like Cosign:

Original Query: [Original query here]

Guidelines:

Clarity and Specificity: Make the query more specific and focused.
Keyword Optimization: Identify and include relevant keywords that align with the dataset.
Semantic Relevance: Consider the underlying meaning and context of the query.
Question Formulation: Frame the query as a question to facilitate direct answer extraction.
Contextual Clues: If applicable, provide additional context or background information.

Example:

Original Query: "Tell me about the French Revolution"

Modified Query: "What were the main causes and effects of the French Revolution, and who were its key figures?"

Guardrail : Output only the Modified Query.