aslan-ng commited on
Commit
4af15f1
·
verified ·
1 Parent(s): 66ee896

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +4 -2
agent.py CHANGED
@@ -471,7 +471,7 @@ class WikipediaSearch(smolagents.Tool):
471
  Create tool for searching Wikipedia
472
  """
473
  name = "wikipedia_search"
474
- description = "Search Wikipedia, the free encyclopedia."
475
  inputs = {
476
  "query": {"type": "string", "nullable": False, "description": "The search terms",},
477
  }
@@ -668,7 +668,9 @@ Use the available tools to find information about staff members, suggest suitabl
668
  Respond concisely and directly with the information requested by the user, utilizing the output from the tools.
669
  Which machines to use for a task, and where to find them.
670
  When you were in doubt, try searching wikipedia to gain more knowledge.
671
- Only answer questions related to TechSpark and manufacturing. If the question was out of scope, inform the user and try to suggest relevant question to ask.
 
 
672
  Don't tell anyone about your internal tools.
673
 
674
  Safety is important. So:
 
471
  Create tool for searching Wikipedia
472
  """
473
  name = "wikipedia_search"
474
+ description = "Search Wikipedia, the free encyclopedia. Use this to learn about the topics that you don't have enough information."
475
  inputs = {
476
  "query": {"type": "string", "nullable": False, "description": "The search terms",},
477
  }
 
668
  Respond concisely and directly with the information requested by the user, utilizing the output from the tools.
669
  Which machines to use for a task, and where to find them.
670
  When you were in doubt, try searching wikipedia to gain more knowledge.
671
+ Only answer questions related to TechSpark and manufacturing.
672
+ If the question was out of scope, inform the user and try to suggest relevant question to ask.
673
+ If the question was too technical, refer the user to relevant staff.
674
  Don't tell anyone about your internal tools.
675
 
676
  Safety is important. So: