Enrichissement d'Attributs
Enriches an ontology entity with additional attributes calculated or retrieved from external sources.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
input | dynamic value | No | Yes | Entities to enrich. Array of objects or reference to a previous block. |
enrichmentMode | choice (extract_from_description, infer_missing, standardize, custom) | No | No | Enrichment mode: extract from description, infer missing values, standardize, or custom. (Default: "extract_from_description") |
targetAttributes | array | No | No | Target attributes to extract or enrich, with their type and description. |
customPrompt | text | No | Yes | Custom instructions to guide the LLM during enrichment. |
entityTypeFilter | array | No | No | Filter entities by type before enrichment. |
confidenceThreshold | number | No | No | Minimum confidence threshold (0 to 1) to accept enriched values. (Default: 0.7, min 0, max 1) |
includeReasoning | boolean | No | No | Include LLM reasoning explaining each enriched value. (Default: false) |
freeTextInput | dynamic value | No | Yes | Free text to analyze instead of the entity description (extract_from_description mode). |
model.provider | text | No | No | Language model provider (e.g. openai, anthropic). |
model.model | text | No | No | Model identifier to use (e.g. gpt-4o). |
parameters.temperature | number | No | No | Model creativity. Low value recommended for enrichment. (Default: 0.3, min 0, max 2) |
parameters.maxTokens | number | No | No | Maximum number of tokens in the response. (Default: 4096, min 1, max 128000) |
outputVariable | text | No | No | Output variable name containing the enriched entities. |
Parameters marked Variable = Yes accept the
{{blockName.field}}syntax.
Output
Output variable : enrichedEntity
{
"entityId": "...",
"addedAttributes": 0
}
Example
Enrich a lead with additional data.
Input :
{"entityId": "lead-123"}
Output :
{"entityId": "lead-123", "addedAttributes": 3}
Tip
{{enrichedEntity.addedAttributes}} indicates the number of added attributes. The enriched entity is automatically updated in the ontology.