relate
Create a typed connection between two memories by specifying source, target, and relationship label, then receive the edge ID for later reference.
Instructions
Create a typed link from one memory to another. Returns the edge id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target memory id. | |
| from | Yes | Source memory id. | |
| relation | Yes | Relationship label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_id | Yes | Id of the created edge. |