dlaima commited on
Commit
51b30e6
·
verified ·
1 Parent(s): f5d2621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ class WikipediaSearchTool(Tool):
35
  query = inputs.get("query", "")
36
  return self.searcher.search(query)
37
 
 
 
 
38
 
39
  # Define the system prompt
40
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.
 
35
  query = inputs.get("query", "")
36
  return self.searcher.search(query)
37
 
38
+ # Instantiate tool here, before using in MyAgent
39
+ wikipedia_search_tool = WikipediaSearchTool()
40
+
41
 
42
  # Define the system prompt
43
  SYSTEM_PROMPT = """You are a general AI assistant. I will ask you a question.