# VectorIngestionConfigurationProperty

Contains details about how to ingest the documents in a data source.

- Source: Generated code
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const vectorIngestionConfigurationProperty: wisdom.CfnKnowledgeBase.VectorIngestionConfigurationProperty = {
  chunkingConfiguration: {
    chunkingStrategy: 'chunkingStrategy',

    // the properties below are optional
    fixedSizeChunkingConfiguration: {
      maxTokens: 123,
      overlapPercentage: 123,
    },
    hierarchicalChunkingConfiguration: {
      levelConfigurations: [{
        maxTokens: 123,
      }],
      overlapTokens: 123,
    },
    semanticChunkingConfiguration: {
      breakpointPercentileThreshold: 123,
      bufferSize: 123,
      maxTokens: 123,
    },
  },
  parsingConfiguration: {
    parsingStrategy: 'parsingStrategy',

    // the properties below are optional
    bedrockFoundationModelConfiguration: {
      modelArn: 'modelArn',

      // the properties below are optional
      parsingPrompt: {
        parsingPromptText: 'parsingPromptText',
      },
    },
  },
};
```

## Properties

- `chunkingConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.ChunkingConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.ChunkingConfigurationProperty.html) — 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.

- `parsingConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.ParsingConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.ParsingConfigurationProperty.html) — A custom parser for data source documents.
