Supported Models
AWS Bedrock
Using AWS Bedrock with Flowstack
AWS Bedrock can be integrated with Flowstack, but currently, only the Python SDK implementation is available. REST API and Node.js SDK implementations are not provided.
Python SDK Implementation
To use AWS Bedrock with Flowstack in Python, follow these steps:
- Install Boto3 : Ensure you have the Boto3 library installed. Boto3 is the Amazon Web Services (AWS) SDK for Python.
- Python Code Implementation :
Use the following Python code to set up the AWS Bedrock client and make a request. Replace
"YOUR_AWS_ACCESS_KEY_ID"
and"YOUR_AWS_SECRET_ACCESS_KEY"
with your AWS credentials.
Replace "YOUR_FLOWSTACK_KEY"
and "your-model-id"
with the appropriate Flowstack key and model ID.