Spaces:
Sleeping
Sleeping
Update veryfinal.py
Browse files- veryfinal.py +1 -1
veryfinal.py
CHANGED
|
@@ -313,7 +313,7 @@ def build_graph(provider: str="hybrid"):
|
|
| 313 |
|
| 314 |
if __name__ == "__main__":
|
| 315 |
graph=build_graph()
|
| 316 |
-
|
| 317 |
res=graph.invoke({"messages":msgs},{"configurable":{"thread_id":"test"}})
|
| 318 |
for m in res["messages"]:
|
| 319 |
m.pretty_print()
|
|
|
|
| 313 |
|
| 314 |
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 |
for m in res["messages"]:
|
| 319 |
m.pretty_print()
|