Spaces:
Sleeping
Sleeping
Update veryfinal.py
Browse files- veryfinal.py +2 -2
veryfinal.py
CHANGED
|
@@ -315,5 +315,5 @@ if __name__ == "__main__":
|
|
| 315 |
graph=build_graph()
|
| 316 |
msgs=[HumanMessage(content="What are the names of the US presidents who were assassinated?")]
|
| 317 |
res=graph.invoke({"messages":msgs},{"configurable":{"thread_id":"test"}})
|
| 318 |
-
|
| 319 |
-
|
|
|
|
| 315 |
graph=build_graph()
|
| 316 |
msgs=[HumanMessage(content="What are the names of the US presidents who were assassinated?")]
|
| 317 |
res=graph.invoke({"messages":msgs},{"configurable":{"thread_id":"test"}})
|
| 318 |
+
for m in res["messages"]:
|
| 319 |
+
m.pretty_print()
|