Spaces:
Sleeping
Sleeping
Update rag_langgraph.py
Browse files- 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="1. Research content on topic:
|
| 100 |
"2. Based on your research, write a 2000-word article on the topic. "
|
| 101 |
"3. At the beginning of the article, add current date and author: Multi-AI-Agent System. "
|
| 102 |
"4. At the end of the article, add a reference section with research papers.")
|
|
|
|
| 96 |
| JsonOutputFunctionsParser()
|
| 97 |
)
|
| 98 |
|
| 99 |
+
researcher_agent = create_agent(llm, [tavily_tool, today_tool], system_prompt="1. Research content on topic: " + topic + ", prioritizing research papers. "
|
| 100 |
"2. Based on your research, write a 2000-word article on the topic. "
|
| 101 |
"3. At the beginning of the article, add current date and author: Multi-AI-Agent System. "
|
| 102 |
"4. At the end of the article, add a reference section with research papers.")
|