Interface CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnFlow

@Stability(Stable) public static interface CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains configurations for the metadata fields to include or exclude when considering reranking.

If you include the fieldsToExclude field, the reranker ignores all the metadata fields that you specify. If you include the fieldsToInclude field, the reranker uses only the metadata fields that you specify and ignores all others. You can include only one of these fields.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrock.*;
 RerankingMetadataSelectiveModeConfigurationProperty rerankingMetadataSelectiveModeConfigurationProperty = RerankingMetadataSelectiveModeConfigurationProperty.builder()
         .fieldsToExclude(List.of(FieldForRerankingProperty.builder()
                 .fieldName("fieldName")
                 .build()))
         .fieldsToInclude(List.of(FieldForRerankingProperty.builder()
                 .fieldName("fieldName")
                 .build()))
         .build();
 

See Also: