1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
The configuration of a guardrail is based on policies: see https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html
- A guardrail is a combination of multiple policies configured for prompts and response
including; content filters, denied topics, sensitive information filters, and word filters.
- A guardrail can be configured with a single policy, or a combination of multiple policies.
So, can you define the common part that you want to share in a policy that you re-use across multiple guardrails?
Best,
Didier
Relevant content
- asked 2 years ago
- asked a year ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 13 days ago
- AWS OFFICIALUpdated 18 days ago
Didier, Thank you for a quick answer and great explanations! Let’s consider example of a company “C” and two departments “A” and “B”. In API terms, Company security requirement is to use couple of filtersConfig (types like HATE, MISCONDUCT etc.) and sensitiveInformationPolicyConfig. https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-create.html#:~:text=To%20create%20a%20guardrail,Guardrails%20section%2C%20select%20Create%20guardrail.
Departments “A” and “B” want to use additional separate wordsConfig. In that case “A” creates guardrail based on a copied “C” policy with additional its own wordsConfig. Same with “B”. They also need to consider versioning of changing “C” policy… Is it what you referring to?
Maybe it is the matter of approaches, but would it not it easier to create guardrail based on “C” policy and individual department guardrails? And combine them as needed?
However, maybe combine approach would be more costly and less quotas friendly? Thank you again YK