View source: R/bedrock_operations.R
bedrock_update_guardrail | R Documentation |
Updates a guardrail with the values you specify.
See https://www.paws-r-sdk.com/docs/bedrock_update_guardrail/ for full documentation.
bedrock_update_guardrail(
guardrailIdentifier,
name,
description = NULL,
topicPolicyConfig = NULL,
contentPolicyConfig = NULL,
wordPolicyConfig = NULL,
sensitiveInformationPolicyConfig = NULL,
contextualGroundingPolicyConfig = NULL,
blockedInputMessaging,
blockedOutputsMessaging,
kmsKeyId = NULL
)
guardrailIdentifier |
[required] The unique identifier of the guardrail. This can be an ID or the ARN. |
name |
[required] A name for the guardrail. |
description |
A description of the guardrail. |
topicPolicyConfig |
The topic policy to configure for the guardrail. |
contentPolicyConfig |
The content policy to configure for the guardrail. |
wordPolicyConfig |
The word policy to configure for the guardrail. |
sensitiveInformationPolicyConfig |
The sensitive information policy to configure for the guardrail. |
contextualGroundingPolicyConfig |
The contextual grounding policy configuration used to update a guardrail. |
blockedInputMessaging |
[required] The message to return when the guardrail blocks a prompt. |
blockedOutputsMessaging |
[required] The message to return when the guardrail blocks a model response. |
kmsKeyId |
The ARN of the KMS key with which to encrypt the guardrail. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.