bstraehle commited on
Commit
dc28a53
1 Parent(s): 6089d8d

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, word_count):
96
  #research_agent = create_agent(llm, [tavily_tool], f"Research content on topic {topic}")
97
  #research_node = functools.partial(agent_node, agent=research_agent, name="Researcher")
98
 
99
- blogger_agent = create_agent(llm, [tavily_tool], f"Write a {word_count}-word blog post on topic {topic}")
100
  blogger_node = functools.partial(agent_node, agent=blogger_agent, name="Blogger")
101
 
102
  workflow = StateGraph(AgentState)
 
96
  #research_agent = create_agent(llm, [tavily_tool], f"Research content on topic {topic}")
97
  #research_node = functools.partial(agent_node, agent=research_agent, name="Researcher")
98
 
99
+ blogger_agent = create_agent(llm, [tavily_tool], f"Based on research papers, write a {word_count}-word blog post on topic {topic}. Add a references section.")
100
  blogger_node = functools.partial(agent_node, agent=blogger_agent, name="Blogger")
101
 
102
  workflow = StateGraph(AgentState)