

# GuardrailContextualGroundingFilterConfig
<a name="API_amazon-q-connect_GuardrailContextualGroundingFilterConfig"></a>

The filter configuration details for the AI Guardrail's contextual grounding filter.

## Contents
<a name="API_amazon-q-connect_GuardrailContextualGroundingFilterConfig_Contents"></a>

 ** threshold **   <a name="connect-Type-amazon-q-connect_GuardrailContextualGroundingFilterConfig-threshold"></a>
The threshold details for the AI Guardrail's contextual grounding filter.  
Type: Double  
Valid Range: Minimum value of 0.  
Required: Yes

 ** type **   <a name="connect-Type-amazon-q-connect_GuardrailContextualGroundingFilterConfig-type"></a>
The filter type for the AI Guardrail's contextual grounding filter.  
Type: String  
Valid Values: `GROUNDING | RELEVANCE`   
Required: Yes

## See Also
<a name="API_amazon-q-connect_GuardrailContextualGroundingFilterConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/qconnect-2020-10-19/GuardrailContextualGroundingFilterConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qconnect-2020-10-19/GuardrailContextualGroundingFilterConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qconnect-2020-10-19/GuardrailContextualGroundingFilterConfig) 