aws-samples / amazon-bedrock-workshop

This is a workshop designed for Amazon Bedrock a foundational model service.
https://catalog.us-east-1.prod.workshops.aws/amazon-bedrock/en-US
MIT No Attribution
1.48k stars 632 forks source link

Boto3 Client Customization in '09_Guardrails' Notebook Initialization #128

Closed harelix closed 12 months ago

harelix commented 1 year ago

This PR addresses the encapsulation in the '09_Guardrail' sample notebook, wherein the code allowed for the acceptance of a customized boto3 client argument upon initialization, but it was not facilitated in the Jupyter Notebook interface. With the modifications, users can now pass a customized boto3 client to the initialization of the Bedrock Models class within the notebook.