Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 9 additions & 3 deletions website/docs/tutorial/chat-termination.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
}
],
"source": [
"result = joe.initiate_chat(cathy, message=\"Cathy, tell me a joke.\", max_turns=2)"
"result = joe.initiate_chat(\n",
" cathy, \n",
" message=\"Cathy, tell me a joke.\", \n",
" max_turns=2\n",
")"
]
},
{
Expand Down Expand Up @@ -171,8 +175,10 @@
],
"source": [
"result = joe.initiate_chat(\n",
" cathy, message=\"Cathy, tell me a joke.\", max_turns=3\n",
") # increase the number of max turns before termination"
" cathy, \n",
" message=\"Cathy, tell me a joke.\", \n",
" max_turns=3 # increase the number of max turns before termination\n",
")"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion website/docs/tutorial/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,11 @@
}
],
"source": [
"result = joe.initiate_chat(cathy, message=\"Cathy, tell me a joke.\", max_turns=2)"
"result = joe.initiate_chat(\n",
" cathy, \n",
" message=\"Cathy, tell me a joke.\", \n",
" max_turns=2\n",
")"
]
},
{
Expand Down
Loading