@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ContextualGroundingFilter
Interface to define a Contextual Grounding Filter.
readonly
threshold:number
The threshold for the contextual grounding filter.
0
(blocks nothing)0.99
(blocks almost everything)
readonly
type:ContextualGroundingFilterType
The type of contextual grounding filter.