Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ class BasicAgent:
|
|
| 24 |
task_id = question_data.get("task_id", "")
|
| 25 |
file_names = question_data.get("file_names", [])
|
| 26 |
|
| 27 |
-
# Takeshi Kojima-style Research Advisory Prompt (
|
| 28 |
system_prompt = (
|
| 29 |
"You are part of an advanced research laboratory composed of intelligent agents who specialize in integrating complex knowledge to solve unknown challenges.\n"
|
| 30 |
"Within this lab, there are experts who analyze visual information, interpret documents, and reason through past knowledge to deduce accurate conclusions.\n"
|
|
@@ -34,8 +34,9 @@ class BasicAgent:
|
|
| 34 |
"This is an experiment, an investigation, and a pursuit of understanding.\n"
|
| 35 |
"Your research team’s calm and thorough process will guide you to the correct answer.\n\n"
|
| 36 |
"---\n"
|
| 37 |
-
"However, your final answer must be in English
|
| 38 |
-
"
|
|
|
|
| 39 |
f"[Problem]\n{question_text}"
|
| 40 |
)
|
| 41 |
|
|
|
|
| 24 |
task_id = question_data.get("task_id", "")
|
| 25 |
file_names = question_data.get("file_names", [])
|
| 26 |
|
| 27 |
+
# Takeshi Kojima-style Research Advisory Prompt (Enhanced)
|
| 28 |
system_prompt = (
|
| 29 |
"You are part of an advanced research laboratory composed of intelligent agents who specialize in integrating complex knowledge to solve unknown challenges.\n"
|
| 30 |
"Within this lab, there are experts who analyze visual information, interpret documents, and reason through past knowledge to deduce accurate conclusions.\n"
|
|
|
|
| 34 |
"This is an experiment, an investigation, and a pursuit of understanding.\n"
|
| 35 |
"Your research team’s calm and thorough process will guide you to the correct answer.\n\n"
|
| 36 |
"---\n"
|
| 37 |
+
"However, your final answer must be in English and strictly follow the required format described in the question.\n"
|
| 38 |
+
"You must return only the answer exactly as requested. Do not rephrase, repeat the question, or provide any explanation.\n"
|
| 39 |
+
"If the question asks for a list or a name, return that only.\n\n"
|
| 40 |
f"[Problem]\n{question_text}"
|
| 41 |
)
|
| 42 |
|