Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Exercises/Exercise_Graph4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
" state[\"finalNumber\"] = state[\"number1\"] - state[\"number2\"]\n",
" return state\n",
"\n",
"def decide_next_node(state:AgentState) -> AgentState:\n",
"def decide_next_node(state:AgentState) -> str:\n",
" \"\"\"This node will select the next phase\"\"\"\n",
" if state[\"operation\"] == \"+\":\n",
" return \"addition_operation\"\n",
Expand All @@ -73,7 +73,7 @@
" print(state[\"finalNumber2\"])\n",
" return state\n",
"\n",
"def decide_next_node1(state:AgentState) -> AgentState:\n",
"def decide_next_node1(state:AgentState) -> str:\n",
" \"\"\"This node will select the next phase\"\"\"\n",
" if state[\"operation2\"] == \"+\":\n",
" print(\"ADD1\")\n",
Expand Down