dotnetv3/Bedrock-runtime/Scenarios/ConverseToolScenario/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.
Bedrock Converse API with Tool Definition.
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 general prerequisites, see the README in the dotnetv3 folder.
No additional resources are needed for this scenario.
After the example compiles, you can run it from the command line. To do so, navigate to the folder that contains the .sln file and run the following command:
dotnet run
Alternatively, you can run the example from within your IDE.
This starts an interactive scenario that walks you through exploring conditional requests for read, write, and copy operations.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0