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
Configuration for selectively including or excluding metadata fields during the reranking process.
This allows you to control which metadata attributes are considered when reordering search results.
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 class
static final class
An implementation forCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldsToExclude
A list of metadata field names to explicitly exclude from the reranking process.All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
- See Also:
-
getFieldsToInclude
A list of metadata field names to explicitly include in the reranking process.Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
- See Also:
-
builder
@Stability(Stable) static CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder builder()
-