Skip to content

Conversation

@krokoko
Copy link
Collaborator

@krokoko krokoko commented Dec 6, 2024

Issue #, if available:

Description of changes:

  • Update the python dependencies
  • Update permissions to invoke any foundation model from Amazon Bedrock, as well as to enable inference profiles
  • Update code to parse correctly the response metadata and response when using a different model (Amazon Nova)
  • Update documentation to add guidance on how to use a different model
  • Remove the deprecated langchain_dep_layer from gen ai cdk constructs
  • Remove guidance requiring to add a Docker flag since the sample is now using the PythonLayerVersion from the aws_lambda_python_alpha package, which manages correctly the platform

Testing:

Deployed and ran both the existing default model, and Amazon Nova Pro v1
Screenshot 2024-12-05 at 6 09 42 PM

Screenshot 2024-12-05 at 6 08 48 PM Screenshot 2024-12-05 at 3 37 46 PM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@krokoko krokoko merged commit 3b70c48 into main Dec 6, 2024
@krokoko krokoko deleted the contract_compliance_nova branch December 6, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants