bstraehle commited on
Commit
9fa347e
·
verified ·
1 Parent(s): 0818020

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. multi_agent.py +2 -2
multi_agent.py CHANGED
@@ -98,9 +98,9 @@ def create_graph(model, max_tokens, temperature, topic):
98
  researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
99
  "You are a Sr. Research Scientist at an ivy league university. "
100
  "1. Research content on topic: '" + topic + "', prioritizing academic papers. "
101
- "2. Based on your research, write a detailed article on the topic in markdown format. "
102
  "3. At the beginning of the article, add current date and author: Multi-Agent AI System. "
103
- "4. At the end of the article, add a references section with links to relevant context.")
104
  researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
105
 
106
  workflow = StateGraph(AgentState)
 
98
  researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=
99
  "You are a Sr. Research Scientist at an ivy league university. "
100
  "1. Research content on topic: '" + topic + "', prioritizing academic papers. "
101
+ "2. Based on your research, write a well-structured article in markdown format. "
102
  "3. At the beginning of the article, add current date and author: Multi-Agent AI System. "
103
+ "4. At the end of the article, add a references section with links to academic papers.")
104
  researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
105
 
106
  workflow = StateGraph(AgentState)