Interface CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about how to ingest the documents in a data source.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.wisdom.*;
VectorIngestionConfigurationProperty vectorIngestionConfigurationProperty = VectorIngestionConfigurationProperty.builder()
.chunkingConfiguration(ChunkingConfigurationProperty.builder()
.chunkingStrategy("chunkingStrategy")
.fixedSizeChunkingConfiguration(FixedSizeChunkingConfigurationProperty.builder()
.maxTokens(123)
.overlapPercentage(123)
.build())
.hierarchicalChunkingConfiguration(HierarchicalChunkingConfigurationProperty.builder()
.levelConfigurations(List.of(HierarchicalChunkingLevelConfigurationProperty.builder()
.maxTokens(123)
.build()))
.overlapTokens(123)
.build())
.semanticChunkingConfiguration(SemanticChunkingConfigurationProperty.builder()
.breakpointPercentileThreshold(123)
.bufferSize(123)
.maxTokens(123)
.build())
.build())
.parsingConfiguration(ParsingConfigurationProperty.builder()
.bedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationProperty.builder()
.modelArn("modelArn")
.parsingPrompt(ParsingPromptProperty.builder()
.parsingPromptText("parsingPromptText")
.build())
.build())
.parsingStrategy("parsingStrategy")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChunkingConfiguration
Details about how to chunk the documents in the data source.A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.ChunkingConfigurationProperty- See Also:
-
getParsingConfiguration
A custom parser for data source documents.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.ParsingConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder builder()
-