Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,7 @@ client = OpenAI(
|
|
| 15 |
api_key=api_key
|
| 16 |
)
|
| 17 |
|
| 18 |
-
SYSTEM_PROMPT = """You are a
|
| 19 |
-
|
| 20 |
-
Please think carefully."""
|
| 21 |
|
| 22 |
def respond(message, history, model):
|
| 23 |
history_openai_format = [{"role": "system", "content": SYSTEM_PROMPT}]
|
|
|
|
| 15 |
api_key=api_key
|
| 16 |
)
|
| 17 |
|
| 18 |
+
SYSTEM_PROMPT = """You are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags."""
|
|
|
|
|
|
|
| 19 |
|
| 20 |
def respond(message, history, model):
|
| 21 |
history_openai_format = [{"role": "system", "content": SYSTEM_PROMPT}]
|