Fix live multi-turn: pass the resolved drug, stop did-you-mean garbage

This commit is contained in:
2026-08-05 16:54:35 +07:00
parent ef08b4929e
commit 1e8cbdb586
29 changed files with 2013 additions and 83 deletions
+8 -8
View File
@@ -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"
]
}
]