Spaces:
Sleeping
Sleeping
Update rag_langgraph.py
Browse files- rag_langgraph.py +1 -1
rag_langgraph.py
CHANGED
|
@@ -117,7 +117,7 @@ def create_graph(topic, word_count):
|
|
| 117 |
|
| 118 |
def run_multi_agent(topic, word_count):
|
| 119 |
graph = create_graph(topic, word_count)
|
| 120 |
-
|
| 121 |
"messages": [
|
| 122 |
HumanMessage(content="Evolution of Retrieval-Augmented Generation from Naive RAG to Agentic RAG")
|
| 123 |
]
|
|
|
|
| 117 |
|
| 118 |
def run_multi_agent(topic, word_count):
|
| 119 |
graph = create_graph(topic, word_count)
|
| 120 |
+
return graph.invoke({
|
| 121 |
"messages": [
|
| 122 |
HumanMessage(content="Evolution of Retrieval-Augmented Generation from Naive RAG to Agentic RAG")
|
| 123 |
]
|