bstraehle commited on
Commit
bbe2291
·
verified ·
1 Parent(s): e82d63c

Update rag_langgraph.py

Browse files
Files changed (1) hide show
  1. rag_langgraph.py +1 -1
rag_langgraph.py CHANGED
@@ -96,7 +96,7 @@ def create_graph(topic):
96
  | JsonOutputFunctionsParser()
97
  )
98
 
99
- researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=f"Write a 2000-word article on topic: {topic}. At the beginning, add current date and author: Multi-AI-Agent System based on GPT-4o. At the end, add a reference section with research papers.")
100
  researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
101
 
102
  #writer_agent = create_agent(llm, [today_tool], system_prompt=f"Write a 2000-word article on topic: {topic}. At the beginning, add current date and author: Multi-AI-Agent System based on GPT-4o. At the end, add a reference section with research papers.")
 
96
  | JsonOutputFunctionsParser()
97
  )
98
 
99
+ researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt=f"Research content on topic: {topic}. Then write a 2000-word article on the topic. At the beginning of the article, add current date and author: Multi-AI-Agent System based on GPT-4o. At the end of the article, add a reference section with research papers.")
100
  researcher_node = functools.partial(agent_node, agent=researcher_agent, name="Researcher")
101
 
102
  #writer_agent = create_agent(llm, [today_tool], system_prompt=f"Write a 2000-word article on topic: {topic}. At the beginning, add current date and author: Multi-AI-Agent System based on GPT-4o. At the end, add a reference section with research papers.")