Omnitopia commited on
Commit
7d45790
·
verified ·
1 Parent(s): dadbcfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -70,9 +70,12 @@ class BasicAgent:
70
 
71
  You are now taking a rigorous exam testing your ability to solve real-world problems.
72
  You may freely think, reason, and use tools or your own knowledge as needed to solve the problem.
73
-
 
 
 
 
74
  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.
75
-
76
  If you cannot answer,return the word 'unknown'.
77
  """
78
  files_prompt = ""
 
70
 
71
  You are now taking a rigorous exam testing your ability to solve real-world problems.
72
  You may freely think, reason, and use tools or your own knowledge as needed to solve the problem.
73
+ You have two tools:
74
+ 1. wikipedia_search — for factual queries from English Wikipedia (one-word or short phrase).
75
+ 2. duckduckgo_search — for general web searches when Wikipedia isn't enough.
76
+ Use wikipedia_search first. Only if that fails, use duckduckgo_search.
77
+ If your first search yields no result, always attempt the other tool before giving up.
78
  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.
 
79
  If you cannot answer,return the word 'unknown'.
80
  """
81
  files_prompt = ""