With function calling, we can provide LLMs with descriptions of tools and functions it can use. An LLM is able to intelligently decide based on user query when and how to use those tools to help answer questions and complete tasks.
This repository contains examples and use-cases to get you started with Function Calling on Amazon Bedrock
This folder contains information on how to use function calling with Amazon Bedrock capabilities. The examples are divided as following:
- Function calling with the Converse API: examples on how to set up function call with the Bedrock Converse API
- Function calling with Invoke Model: examples on how to set up function call with the Bedrock invoke model API
- Function calling with Bedrock Agents Return of Control functionality: In this folder we provide an example on how to make Bedrock Agents behave like the native LLM function calling using the return of control functionality
- Function calling using LangChain tool binding functionality: in this folder we provide an example on how to provide tools descriptions to LangChain framework using the
bind_tools
functionality
We welcome community contributions! Please ensure your sample aligns with AWS best practices, and please update the Contents section of this README file with a link to your sample, along with a description.