Interface CfnFlow.MetadataConfigurationForRerankingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlow.MetadataConfigurationForRerankingProperty.Jsii$Proxy
- Enclosing class:
CfnFlow
@Stability(Stable)
public static interface CfnFlow.MetadataConfigurationForRerankingProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for the metadata to use in reranking.
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.*;
MetadataConfigurationForRerankingProperty metadataConfigurationForRerankingProperty = MetadataConfigurationForRerankingProperty.builder()
.selectionMode("selectionMode")
// the properties below are optional
.selectiveModeConfiguration(RerankingMetadataSelectiveModeConfigurationProperty.builder()
.fieldsToExclude(List.of(FieldForRerankingProperty.builder()
.fieldName("fieldName")
.build()))
.fieldsToInclude(List.of(FieldForRerankingProperty.builder()
.fieldName("fieldName")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlow.MetadataConfigurationForRerankingPropertystatic final classAn implementation forCfnFlow.MetadataConfigurationForRerankingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSelectionMode
Specifies whether to consider all metadata when reranking, or only the metadata that you select.If you specify
SELECTIVE, include theselectiveModeConfigurationfield.- See Also:
-
getSelectiveModeConfiguration
Contains configurations for the metadata fields to include or exclude when considering reranking.- See Also:
-
builder
-