Skip to main content

Enrichissement d'Attributs

Enriches an ontology entity with additional attributes calculated or retrieved from external sources.

Parameters

ParameterTypeRequiredVariableDescription
inputdynamic valueNoYesEntities to enrich. Array of objects or reference to a previous block.
enrichmentModechoice (extract_from_description, infer_missing, standardize, custom)NoNoEnrichment mode: extract from description, infer missing values, standardize, or custom. (Default: "extract_from_description")
targetAttributesarrayNoNoTarget attributes to extract or enrich, with their type and description.
customPrompttextNoYesCustom instructions to guide the LLM during enrichment.
entityTypeFilterarrayNoNoFilter entities by type before enrichment.
confidenceThresholdnumberNoNoMinimum confidence threshold (0 to 1) to accept enriched values. (Default: 0.7, min 0, max 1)
includeReasoningbooleanNoNoInclude LLM reasoning explaining each enriched value. (Default: false)
freeTextInputdynamic valueNoYesFree text to analyze instead of the entity description (extract_from_description mode).
model.providertextNoNoLanguage model provider (e.g. openai, anthropic).
model.modeltextNoNoModel identifier to use (e.g. gpt-4o).
parameters.temperaturenumberNoNoModel creativity. Low value recommended for enrichment. (Default: 0.3, min 0, max 2)
parameters.maxTokensnumberNoNoMaximum number of tokens in the response. (Default: 4096, min 1, max 128000)
outputVariabletextNoNoOutput 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.