Skip to content

Commit

Permalink
Add tool use chapter to tutorial (#2079)
Browse files Browse the repository at this point in the history
* Add tool use chapter

* fix format

* typo

* Edits to tool-use chapter

* update

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
  • Loading branch information
ekzhu and jackgerrits committed Mar 20, 2024
1 parent 4af0440 commit ecc459f
Show file tree
Hide file tree
Showing 5 changed files with 769 additions and 3 deletions.
2 changes: 2 additions & 0 deletions website/docs/topics/task_decomposition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
")\n",
"\n",
"# register the function task_decomposition for execution\n",
"\n",
"\n",
"@user_proxy.register_for_execution()\n",
"@assistant.register_for_llm(\n",
" name=\"task_decomposition\",\n",
Expand Down
4 changes: 2 additions & 2 deletions website/docs/tutorial/code-executors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -806,8 +806,8 @@
"\n",
"In this chapter, we introduced code executors, how to set up Docker and local\n",
"execution, and how to use code execution in a conversation to solve tasks.\n",
"In the next chapter, we will introduce conversation patterns, and show\n",
"how to use the result of a conversation."
"In the next chapter, we will introduce tool use, which is similar to code\n",
"executors but restricts what code agent can execute."
]
}
],
Expand Down
Loading

0 comments on commit ecc459f

Please sign in to comment.