Interface CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFlowVersion
@Stability(Stable)
public static interface CfnFlowVersion.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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldsToExclude
An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.- See Also:
-
getFieldsToInclude
An array of objects, each of which specifies a metadata field to include in consideration when reranking.The remaining metadata fields are ignored.
- See Also:
-
builder
@Stability(Stable) static CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder builder()
-