python/example_code/bedrock-agent-runtime/README.md
Shows how to use the AWS SDK for Python (Boto3) to work with Amazon Bedrock Agents Runtime.
<!--custom.overview.start--> <!--custom.overview.end-->Amazon Bedrock Agents Runtime offers you the ability to run autonomous agents in your application.
For prerequisites, see the README in the python folder.
Install the packages required by these examples by running the following in a virtual environment:
python -m pip install -r requirements.txt
Code examples that show you how to perform the essential operations within a service.
Code excerpts that show you how to call individual service functions.
Code examples that show you how to accomplish a specific task by calling multiple functions within the same service.
<!--custom.examples.start--> <!--custom.examples.end-->This example shows you how to use InvokeFlow to converse with an Amazon Bedrock flow that includes an agent node.
<!--custom.basic_prereqs.bedrock-agent-runtime_Scenario_ConverseWithFlow.start--> <!--custom.basic_prereqs.bedrock-agent-runtime_Scenario_ConverseWithFlow.end-->Start the example by running the following at a command prompt:
python flows/flow-conversation.py
This example shows you how to do the following:
Start the example by running the following at a command prompt:
python ../bedrock-agent/flows/playlist_flow.py
⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the python folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0