3 Notebooks to show different approaches to agentic function calling.
Function Calling Notebook
- A rudimentary version of how to do function calling with an LLM that doesn't have it integrated in by default, in this case, the AWS Bedrock platform.Langgraph Notebook
- A more mature LangGraph implementation using a fake API tool, but still technically functions as a "while" loop. Similar to the ReACT decision making framework for agents.Langgraph Rewoo Notebook
- Another LangGraph implementation similar to the last, except this one uses the ReWoo approach of deciding how to break down the problem, which is another popular decision making framework for agents.
This repo uses poetry to manage dependencies. If you don't have it installed, install it, then:
- Run
poetry install
. This will create a virtual environment for this repo and install needed libraries. - Open the notebook you desire and set the execution kernel to be the poetry created virtual environment.
- Set your AWS related variables in the first cell (Make sure you have a valid AWS token).
- Execute all cells in order.
There are diagrams in the diagrams folder. They use draw.io formats. You can either upload them to the website, or if you are in vscode, install the DrawIo Integration extension to be able to both view and manage the diagrams from your IDE.