Wire the guarded conversational RAG answer layer end-to-end
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Sid": "ListModelsToConfirmAccess",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"bedrock:ListFoundationModels"
|
||||
],
|
||||
"Resource": "*"
|
||||
},
|
||||
{
|
||||
"Sid": "ReadTheTwoEmbeddingModels",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"bedrock:GetFoundationModel"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v2:0",
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/cohere.embed-v4:0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Sid": "InvokeOnlyTheTwoEmbeddingModels",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"bedrock:InvokeModel"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v2:0",
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/cohere.embed-v4:0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user