Interface GuardrailContextualGroundingFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailContextualGroundingFilter.Builder,,GuardrailContextualGroundingFilter> SdkBuilder<GuardrailContextualGroundingFilter.Builder,,GuardrailContextualGroundingFilter> SdkPojo
- Enclosing class:
- GuardrailContextualGroundingFilter
@Mutable
@NotThreadSafe
public static interface GuardrailContextualGroundingFilter.Builder
extends SdkPojo, CopyableBuilder<GuardrailContextualGroundingFilter.Builder,GuardrailContextualGroundingFilter>
-
Method Summary
Modifier and TypeMethodDescriptionThe action performed by the guardrails contextual grounding filter.The action performed by the guardrails contextual grounding filter.Indicates whether content that fails the contextual grounding evaluation (grounding or relevance score less than the corresponding threshold) was detected.The score generated by contextual grounding filter.The threshold used by contextual grounding filter to determine whether the content is grounded or not.The contextual grounding filter type.The contextual grounding filter type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The contextual grounding filter type.
- Parameters:
type- The contextual grounding filter type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The contextual grounding filter type.
- Parameters:
type- The contextual grounding filter type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threshold
The threshold used by contextual grounding filter to determine whether the content is grounded or not.
- Parameters:
threshold- The threshold used by contextual grounding filter to determine whether the content is grounded or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The score generated by contextual grounding filter.
- Parameters:
score- The score generated by contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action performed by the guardrails contextual grounding filter.
- Parameters:
action- The action performed by the guardrails contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action performed by the guardrails contextual grounding filter.
- Parameters:
action- The action performed by the guardrails contextual grounding filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detected
Indicates whether content that fails the contextual grounding evaluation (grounding or relevance score less than the corresponding threshold) was detected.
- Parameters:
detected- Indicates whether content that fails the contextual grounding evaluation (grounding or relevance score less than the corresponding threshold) was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-