Shreyas094 commited on
Commit
d77291c
·
verified ·
1 Parent(s): 59368fb

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
- Determine how many queries are made within the query made by the user, if the user has asked just one question rephrase the given questio one concise, search-engine-friendly formats.
34
- If the query contains multiple distinct questions, split them and rephrase those multiple queries into concise, search engine friendly formats.
35
  Provide ONLY the rephrased queries, one per line. Do not include any explanations or additional text.
36
 
37
  Query: {query}
 
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}