-
-
Save KyMidd/dd03fff0b044598dbf698dde487d0478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Main function | |
| if __name__ == "__main__": | |
| ... | |
| # Register the AWS Bedrock AI client | |
| print("🚀 Registering the AWS Bedrock client") | |
| bedrock_client = create_bedrock_client(model_region_name) | |
| # Create a Bedrock client | |
| def create_bedrock_client(region_name): | |
| return boto3.client("bedrock-runtime", region_name=region_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment