create_relation
Create a relationship between two existing entities in the knowledge graph by specifying source, target, and properties.
Instructions
Create a relationship between two entities that both already exist in the knowledge graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation_data | Yes | Relationship properties, e.g. {'description': '...', 'keywords': '...', 'weight': 1.0}. | |
| source_entity | Yes | Name of the source entity. Must already exist. | |
| target_entity | Yes | Name of the target entity. Must already exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||