Fix live multi-turn: pass the resolved drug, stop did-you-mean garbage
This commit is contained in:
@@ -10,25 +10,25 @@
|
||||
"Resource": "*"
|
||||
},
|
||||
{
|
||||
"Sid": "ReadTheTwoEmbeddingModels",
|
||||
"Sid": "ReadModelMetadata",
|
||||
"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"
|
||||
]
|
||||
"Resource": "*"
|
||||
},
|
||||
{
|
||||
"Sid": "InvokeOnlyTheTwoEmbeddingModels",
|
||||
"Sid": "InvokeEmbeddingGenerationRerank",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"bedrock:InvokeModel"
|
||||
"bedrock:InvokeModel",
|
||||
"bedrock:InvokeModelWithResponseStream"
|
||||
],
|
||||
"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"
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/cohere.embed-v4:0",
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/deepseek.v3.2",
|
||||
"arn:aws:bedrock:us-east-1::foundation-model/cohere.rerank-v3-5:0"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user