Martin Bär commited on
Commit
7a8dd44
·
1 Parent(s): 81dea43

Update system prompt

Browse files
Files changed (1) hide show
  1. basic_agent.py +3 -1
basic_agent.py CHANGED
@@ -38,7 +38,9 @@ class BasicAgent:
38
  self.agent = AgentWorkflow.from_tools_or_functions(
39
  wiki_search_tool_las, # [search_tool, webpage_tool]
40
  llm=llm,
41
- verbose=True
 
 
42
  )
43
 
44
  # self.ctx = Context(self.agent)
 
38
  self.agent = AgentWorkflow.from_tools_or_functions(
39
  wiki_search_tool_las, # [search_tool, webpage_tool]
40
  llm=llm,
41
+ verbose=True,
42
+ system_prompt=("You are a helpful agent that can search Wikipedia for answers. "
43
+ "Please be concise when answering questions and make sure your final outputs are relevant to the question.")
44
  )
45
 
46
  # self.ctx = Context(self.agent)