Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,7 @@ class Agent1:
|
|
| 30 |
rephrase_prompt = PromptTemplate(
|
| 31 |
input_variables=["query"],
|
| 32 |
template="""
|
| 33 |
-
|
| 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}
|