Policy: AWS > Bedrock > Guardrail > Settings > Contextual Grounding Policy > Relevance Threshold
Threshold (0-1) for the RELEVANCE contextual filter, which checks that model responses address the user's question. Leave unset to skip; the RELEVANCE entry is included in the enforced contextualGroundingPolicyConfig.filtersConfig only when set.
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Setting this policy configures this control:
Policy Specification
Examples [YAML] |
|
|---|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/security
- tmod:@turbot/aws-bedrock#/policy/types/bedrockGuardrailSettingsContextualGroundingPolicyRelevanceThreshold
- turbot graphql policy-type --id "tmod:@turbot/aws-bedrock#/policy/types/bedrockGuardrailSettingsContextualGroundingPolicyRelevanceThreshold"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-bedrock#/policy/types/bedrockGuardrailSettingsContextualGroundingPolicyRelevanceThreshold"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI