javascriptv3/example_code/bedrock-runtime/scenarios/converse_tool_scenario/README.md
This example shows how to use AWS SDKs and the Amazon Bedrock Converse API to call a custom tool from a large language model (LLM) as part of a multistep conversation. The example creates a weather tool that leverages the Open-Meteo API to retrieve current weather information based on user input.
This example illustrates a typical interaction between a generative AI model, an application, and connected tools or APIs to solve a problem or achieve a specific goal. The scenario follows these steps:
For prerequisites, see the README in the javascriptv3 folder.
node converse-tool-scenario.js
⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README in the javascriptv3 folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0