Skip to content

DocumentEnrichmentConfigurationDict

Dictionary Type

DocumentEnrichmentConfigurationDict

Bases: TypedDict

Dictionary form of DocumentEnrichmentConfiguration.

Attributes

inline_configurations instance-attribute

Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.

post_extraction_hook_configuration instance-attribute
post_extraction_hook_configuration: HookConfiguration | HookConfigurationDict | None

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q Business.

You can configure your Lambda function using the PreExtractionHookConfiguration parameter if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q Business structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.

pre_extraction_hook_configuration instance-attribute
pre_extraction_hook_configuration: HookConfiguration | HookConfigurationDict | None

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q Business.

You can configure your Lambda function using the PreExtractionHookConfiguration parameter if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q Business structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.