merge_entities
Consolidate duplicate or misspelled entities into one target entity, removing the sources. Use to clean up inconsistent knowledge graph entries.
Instructions
Merge one or more duplicate or misspelled entities into a single target entity. The merged-from entities are removed once this succeeds and this cannot be undone -- double check the names first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entities_to_change | Yes | Entity names to merge and remove -- typically duplicates or misspellings, e.g. ['Elon Msk', 'Ellon Musk']. | |
| entity_to_change_into | Yes | Target entity name that receives all relationships from the source entities. Created if it doesn't already exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||