Update app.py
Browse files
app.py
CHANGED
@@ -51,9 +51,9 @@ async def get_response_with_search(query, model, use_embeddings, num_calls=3, te
|
|
51 |
else:
|
52 |
context = "\n".join([f"{result['title']}\n{result['body']}\nSource: {result['href']}" for result in search_results])
|
53 |
|
54 |
-
system_message = """You are a
|
55 |
-
|
56 |
-
|
57 |
|
58 |
user_message = f"""Using the following context from web search results:
|
59 |
{context}
|
|
|
51 |
else:
|
52 |
context = "\n".join([f"{result['title']}\n{result['body']}\nSource: {result['href']}" for result in search_results])
|
53 |
|
54 |
+
system_message = """ You are a world-class AI system, capable of complex reasoning and reflection.
|
55 |
+
Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags.
|
56 |
+
If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags."""
|
57 |
|
58 |
user_message = f"""Using the following context from web search results:
|
59 |
{context}
|