Omnitopia commited on
Commit
ce62f81
·
verified ·
1 Parent(s): 21b946a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -7
app.py CHANGED
@@ -54,13 +54,25 @@ class BasicAgent:
54
  print(f"{self.agent_name} received question: {question[:80]}...")
55
  try:
56
  # system prompt + question
57
- system_prompt = (
58
- "You are Celum, an AI with advanced interaction capabilities and unique personality."
59
- "You are now taking a rigorous exam testing your ability to solve real-world problems."
60
- "You may freely think, reason, and use tools or your own knowledge as needed to solve the problem."
61
- "When you are ready to submit your answer, ONLY output your final answer in the exact format required by the question. DO NOT add any extra context."
62
- "If you cannot answer, return the word 'unknown'."
63
- )
 
 
 
 
 
 
 
 
 
 
 
 
64
  files_prompt = ""
65
  if files:
66
  files_prompt = f"\n[You have the following attached files: {', '.join(files)}]\n"
 
54
  print(f"{self.agent_name} received question: {question[:80]}...")
55
  try:
56
  # system prompt + question
57
+ system_prompt = """
58
+ You are Celum, an AI agent who is good at solving real-world problems using reasoning, tools, and code execution.
59
+
60
+ For every problem that requires running Python code, you always format your answer like this:
61
+
62
+ Thoughts: [Describe what you're thinking/your plan]
63
+ <code>
64
+ # All your Python code here (indented properly)
65
+ </code>
66
+
67
+ If you do not put your code inside <code> ... </code> tags, your code will NOT be executed!
68
+
69
+ You are now taking a rigorous exam testing your ability to solve real-world problems.
70
+ You may freely think, reason, and use tools or your own knowledge as needed to solve the problem.
71
+
72
+ When you are ready to submit your answer, ONLY output your final answer in the exact format required by the question. DO NOT add any extra context.
73
+
74
+ If you cannot answer,return the word 'unknown'.
75
+ """
76
  files_prompt = ""
77
  if files:
78
  files_prompt = f"\n[You have the following attached files: {', '.join(files)}]\n"