Open jmann-mdsol opened 6 months ago
In the section Create Lambda function for Action Group of 07_Agents/insurance_claims_agent/without_kb/create_and_invoke_agent.ipynb there is an IAM policy document:
Create Lambda function for Action Group
07_Agents/insurance_claims_agent/without_kb/create_and_invoke_agent.ipynb
assume_role_policy_document = { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "bedrock:InvokeModel", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }
This contains a duplicate key Action. Based on the name and how python handles duplicate keys within dictionaries, I imagine it is supposed to be:
Action
assume_role_policy_document = { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }
but am not sure. Please clarify. Thank you!
This typo is also present in here:
us this still relevant in our new structure @mttanke ?
@mttanke can you take a look
In the section
Create Lambda function for Action Group
of07_Agents/insurance_claims_agent/without_kb/create_and_invoke_agent.ipynb
there is an IAM policy document:This contains a duplicate key
Action
. Based on the name and how python handles duplicate keys within dictionaries, I imagine it is supposed to be:but am not sure. Please clarify. Thank you!