DocumentEnrichmentConfiguration¶
Structure Class¶
DocumentEnrichmentConfiguration
dataclass
¶
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
Attributes¶
inline_configurations
class-attribute
instance-attribute
¶
inline_configurations: list[InlineDocumentEnrichmentConfiguration] | None = None
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
post_extraction_hook_configuration
class-attribute
instance-attribute
¶
post_extraction_hook_configuration: HookConfiguration | None = 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
class-attribute
instance-attribute
¶
pre_extraction_hook_configuration: HookConfiguration | None = 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.