The TEXT_METADATA_GENERATION action generates structured metadata from text content stored in Content Lake.
Use this action to extract and generate metadata that makes content easier to classify, organize, govern, search, and analyze. The generated metadata can align content with organizational schemas and help prepare documents for AI, search, analytics, records management, and downstream business processes.
The action submits a Content Lake document reference to the Knowledge Enrichment service, processes the document text, and returns generated metadata as structured key/value pairs.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Required | The Content Lake document to process. The connector submits the referenced document for
metadata generation, for example:
{
"uri": "hxpr:/1234567890"
}
|
| instructions | JSON | Optional | Action-specific instructions that influence metadata generation. Example: {"language":"English","style":"concise"}. |
| kSimilarMetadata | Array | Optional | Example metadata objects used to guide the structure and values of the generated metadata, for example: [{"document:type": "report|document|article"}]. |
| pollingInitialDelayMs | Integer | Optional | Overrides the initial polling delay in milliseconds. The default value is 1000 milliseconds (1 second). |
| pollingTimeoutSeconds | Integer | Optional | Overrides the timeout period, in seconds, while waiting for processing to complete. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| textMetadataGeneration | JSON | Optional | Generated metadata returned as a collection of key/value pairs.. For example: {"document:type": "report", "keywords:tags": ["finance", "quarterly"]}. |