Shreyas094 commited on
Commit
4d28680
·
verified ·
1 Parent(s): d77291c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,8 +30,7 @@ class Agent1:
30
  rephrase_prompt = PromptTemplate(
31
  input_variables=["query"],
32
  template="""
33
- Identify the number of questions in the provided search query. For each question, split them individually and rephrase each one into a concise, search-engine-friendly format.
34
- Provide ONLY the rephrased queries, one per line. Do not include any explanations or additional text.
35
 
36
  Query: {query}
37
 
 
30
  rephrase_prompt = PromptTemplate(
31
  input_variables=["query"],
32
  template="""
33
+ Determine how many questions are asked in the search query provided to you. For each question, split them individually and rephrase each one into a single concise, search-engine-friendly format. Limit the number of rephrased queries to three per question to avoid redundancy.
 
34
 
35
  Query: {query}
36